#EEF8A2

A color in the Yellow, Gold family

#eef8a2 is a color in the Yellow, Gold family: RGB(238, 248, 162), HSL(67°, 86%, 80%), CMYK(4%, 0%, 35%, 3%). Closest named color: khaki. Contrast is 1.13:1 on white and 18.58:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#eef8a2
RGBrgb(238 248 162)
RGB (legacy)rgb(238, 248, 162)
RGB %rgb(93% 97% 64%)
HSLhsl(67 86% 80%)
HSV / HSBhsv(67, 35%, 97%)
HWBhwb(67 64% 3%)
CMYKcmyk(4%, 0%, 35%, 3%)
CIELAB (D50)lab(95.37 -12.99 40.19)
LCHlch(95.37 42.23 107.91)
OKLaboklab(0.9523 -0.044 0.0993)
OKLCHoklch(0.9523 0.1086 113.89)
Decimal15661218

Properties

Color ToneYellow, Gold
Closest named colorkhaki ΔE 4.4
Closest web-safe color#ffff99
Hue67°
Saturation (HSL / HSV)86% / 35%
Lightness (HSL)80%
Brightness or Value (HSV)97%
Luminance (Rec.601 / Rec.709)92% / 94%
Relative luminance (WCAG)0.8792
Red / Green / Blue238 / 248 / 162

WCAG 2.2 Contrast Ratio

On White (#ffffff)
1.13:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
18.58: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 0 / -98.7 · As background with white / black text: Lc 0 / 97.7

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: #eef8a2;
  --color-brand-oklch: oklch(95.23% 0.1086 113.89);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(238 248 162 / 50%); }
/* Tailwind CSS */
<div class="bg-[#eef8a2] text-[#eef8a2] border-[#eef8a2]">