#E2E793

A color in the Yellow, Gold family

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

Color Codes

HEX#e2e793
RGBrgb(226 231 147)
RGB (legacy)rgb(226, 231, 147)
RGB %rgb(89% 91% 58%)
HSLhsl(64 64% 74%)
HSV / HSBhsv(64, 36%, 91%)
HWBhwb(64 58% 9%)
CMYKcmyk(2%, 0%, 36%, 9%)
CIELAB (D50)lab(89.85 -10.95 40.3)
LCHlch(89.85 41.76 105.19)
OKLaboklab(0.9053 -0.0385 0.099)
OKLCHoklch(0.9053 0.1063 111.25)
Decimal14870419

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 1.9
Closest web-safe color#ccff99
Hue64°
Saturation (HSL / HSV)64% / 36%
Lightness (HSL)74%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)86% / 88%
Relative luminance (WCAG)0.7543
Red / Green / Blue226 / 231 / 147

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.31:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.09: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 15.1 / -88.7 · As background with white / black text: Lc -17.4 / 88.5

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: #e2e793;
  --color-brand-oklch: oklch(90.53% 0.1063 111.25);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 231 147 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2e793] text-[#e2e793] border-[#e2e793]">