#E2EB8A

A color in the Yellow, Gold family

#e2eb8a is a color in the Yellow, Gold family: RGB(226, 235, 138), HSL(66°, 71%, 73%), CMYK(4%, 0%, 41%, 8%). Closest named color: khaki. Contrast is 1.27:1 on white and 16.48:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#e2eb8a
RGBrgb(226 235 138)
RGB (legacy)rgb(226, 235, 138)
RGB %rgb(89% 92% 54%)
HSLhsl(66 71% 73%)
HSV / HSBhsv(66, 41%, 92%)
HWBhwb(66 54% 8%)
CMYKcmyk(4%, 0%, 41%, 8%)
CIELAB (D50)lab(90.79 -13.52 45.83)
LCHlch(90.79 47.79 106.43)
OKLaboklab(0.9122 -0.0476 0.1114)
OKLCHoklch(0.9122 0.1211 113.14)
Decimal14871434

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 2.3
Closest web-safe color#ccff99
Hue66°
Saturation (HSL / HSV)71% / 41%
Lightness (HSL)73%
Brightness or Value (HSV)92%
Luminance (Rec.601 / Rec.709)87% / 89%
Relative luminance (WCAG)0.7742
Red / Green / Blue226 / 235 / 138

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
16.48: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 13.5 / -90.3 · As background with white / black text: Lc -15.6 / 90.1

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: #e2eb8a;
  --color-brand-oklch: oklch(91.22% 0.1211 113.14);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 235 138 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2eb8a] text-[#e2eb8a] border-[#e2eb8a]">