#E7E793

A color in the Yellow, Gold family

#e7e793 is a color in the Yellow, Gold family: RGB(231, 231, 147), HSL(60°, 64%, 74%), CMYK(0%, 0%, 36%, 9%). Closest named color: khaki. Contrast is 1.29:1 on white and 16.25:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e7e793
RGBrgb(231 231 147)
RGB (legacy)rgb(231, 231, 147)
RGB %rgb(91% 91% 58%)
HSLhsl(60 64% 74%)
HSV / HSBhsv(60, 36%, 91%)
HWBhwb(60 58% 9%)
CMYKcmyk(0%, 0%, 36%, 9%)
CIELAB (D50)lab(90.25 -9.02 40.9)
LCHlch(90.25 41.89 102.44)
OKLaboklab(0.9093 -0.0332 0.1003)
OKLCHoklch(0.9093 0.1057 108.33)
Decimal15198099

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 1.3
Closest web-safe color#ffff99
Hue60°
Saturation (HSL / HSV)64% / 36%
Lightness (HSL)74%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)87% / 88%
Relative luminance (WCAG)0.7625
Red / Green / Blue231 / 231 / 147

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.29:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.25:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 14.5 / -89.3 · As background with white / black text: Lc -16.7 / 89.2

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #e7e793;
  --color-brand-oklch: oklch(90.93% 0.1057 108.33);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(231 231 147 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e7e793] text-[#e7e793] border-[#e7e793]">