#E2DA4F#E2DA4F

#E2DA4F is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.0% C 0.156 H 106.0°. Best body text is #000000 at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#E2DA4F
RGBrgb(226, 218, 79)
HSLhsl(57, 72%, 60%)
HSVhsv(57, 65%, 89%)
CMYKcmyk(0%, 3.5%, 65%, 11.4%)
CIE-LABlab(85.44, -13.52, 66.67)
CIE-LCHlch(85.44, 68.02, 101.47°)
OKLaboklab(86.99% -0.0432 0.1503)
OKLCHoklch(86.99% 0.156 106)
XYZxyz(57.8488, 66.8781, 17.2571)
Luminance0.6688 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DA4F #4F57E2
analogous
#E2914F #E2DA4F #A0E24F
triadic
#E2DA4F #4FE2DA #DA4FE2
tetradic
#E2DA4F #4FE291 #4F57E2 #E24FA0
square
#E2DA4F #4FE291 #4F57E2 #E24FA0
split-complementary
#E2DA4F #4FA0E2 #914FE2
monochromatic
#9D961A #D1C822 #E2DA4F #EBE584 #F3F0B8

Accessibility & contrast

On white

1.46
#E2DA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.38
#E2DA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DA4F
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DA4F#FFFFFF#000000##000000
##E2DA4F1.001.4614.3814.38
#FFFFFF1.461.0021.0021.00
#00000014.3821.001.001.00
##00000014.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD23C
Deuteranopia (green-blind)
#EFD858
Tritanopia (blue-blind)
#F2CCBE
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2da4f;
/* rgb */ color: rgb(226, 218, 79);
/* oklch */ color: oklch(87.0% 0.156 106.0);
Tailwind
colors: {
  custom: {
    50: '#eee587',
    500: '#e2da4f',
    950: '#000000',
  },
}
SCSS
$custom: #e2da4f;
$custom-light: #eee587;
$custom-dark: #000000;
JSON
{
  "hex": "#e2da4f",
  "rgb": {
    "r": 226,
    "g": 218,
    "b": 79
  },
  "hsl": {
    "h": 56.735,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.86985,
    "c": 0.15636,
    "h": 106
  },
  "luminance": 0.66876
}

Semantic roles & 50–950 ramp

primary
#E2DA4F
secondary
#353BA0
accent
#43EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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