#E2D94F#E2D94F

#E2D94F is a very light, vivid yellow. Relative luminance 0.664; OKLCH L 86.8% C 0.155 H 105.6°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#E2D94F
RGBrgb(226, 217, 79)
HSLhsl(56, 72%, 60%)
HSVhsv(56, 65%, 89%)
CMYKcmyk(0%, 4%, 65%, 11.4%)
CIE-LABlab(85.18, -13.02, 66.39)
CIE-LCHlch(85.18, 67.66, 101.10°)
OKLaboklab(86.78% -0.0418 0.1497)
OKLCHoklch(86.78% 0.155 105.6)
XYZxyz(57.5903, 66.3610, 17.1710)
Luminance0.6636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D94F #4F58E2
analogous
#E2904F #E2D94F #A1E24F
triadic
#E2D94F #4FE2D9 #D94FE2
tetradic
#E2D94F #4FE290 #4F58E2 #E24FA1
square
#E2D94F #4FE290 #4F58E2 #E24FA1
split-complementary
#E2D94F #4FA1E2 #904FE2
monochromatic
#9D951A #D1C722 #E2D94F #EBE484 #F3F0B8

Accessibility & contrast

On white

1.47
#E2D94F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.27
#E2D94F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D94F
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D94F#FFFFFF#000000##000000
##E2D94F1.001.4714.2714.27
#FFFFFF1.471.0021.0021.00
#00000014.2721.001.001.00
##00000014.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD13C
Deuteranopia (green-blind)
#EED858
Tritanopia (blue-blind)
#F2CBBD
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2d94f;
/* rgb */ color: rgb(226, 217, 79);
/* oklch */ color: oklch(86.8% 0.155 105.6);
Tailwind
colors: {
  custom: {
    50: '#eee487',
    500: '#e2d94f',
    950: '#000000',
  },
}
SCSS
$custom: #e2d94f;
$custom-light: #eee487;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d94f",
  "rgb": {
    "r": 226,
    "g": 217,
    "b": 79
  },
  "hsl": {
    "h": 56.327,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86776,
    "c": 0.15542,
    "h": 105.6
  },
  "luminance": 0.66359
}

Semantic roles & 50–950 ramp

primary
#E2D94F
secondary
#353CA0
accent
#44EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2D94F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E2D94F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva