#E2E87F

A color in the Yellow, Gold family

#e2e87f is a color in the Yellow, Gold family: RGB(226, 232, 127), HSL(63°, 70%, 70%), CMYK(3%, 0%, 45%, 9%). Closest named color: khaki. Contrast is 1.31:1 on white and 16.08:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#e2e87f
RGBrgb(226 232 127)
RGB (legacy)rgb(226, 232, 127)
RGB %rgb(89% 91% 50%)
HSLhsl(63 70% 70%)
HSV / HSBhsv(63, 45%, 91%)
HWBhwb(63 50% 9%)
CMYKcmyk(3%, 0%, 45%, 9%)
CIELAB (D50)lab(89.89 -12.94 49.96)
LCHlch(89.89 51.61 104.52)
OKLaboklab(0.9044 -0.0475 0.12)
OKLCHoklch(0.9044 0.129 111.59)
Decimal14870655

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 2.7
Closest web-safe color#ccff66
Hue63°
Saturation (HSL / HSV)70% / 45%
Lightness (HSL)70%
Brightness or Value (HSV)91%
Luminance (Rec.601 / Rec.709)86% / 88%
Relative luminance (WCAG)0.7541
Red / Green / Blue226 / 232 / 127

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.08: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.3 / 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: #e2e87f;
  --color-brand-oklch: oklch(90.44% 0.129 111.59);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(226 232 127 / 50%); }
/* Tailwind CSS */
<div class="bg-[#e2e87f] text-[#e2e87f] border-[#e2e87f]">