#E2DB4F#E2DB4F

#E2DB4F is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.2% C 0.157 H 106.5°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#E2DB4F
RGBrgb(226, 219, 79)
HSLhsl(57, 72%, 60%)
HSVhsv(57, 65%, 89%)
CMYKcmyk(0%, 3.1%, 65%, 11.4%)
CIE-LABlab(85.70, -14.02, 66.94)
CIE-LCHlch(85.70, 68.39, 101.83°)
OKLaboklab(87.19% -0.0446 0.1509)
OKLCHoklch(87.19% 0.157 106.5)
XYZxyz(58.1089, 67.3983, 17.3438)
Luminance0.6740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB4F #4F56E2
analogous
#E2924F #E2DB4F #9FE24F
triadic
#E2DB4F #4FE2DB #DB4FE2
tetradic
#E2DB4F #4FE292 #4F56E2 #E24F9F
square
#E2DB4F #4FE292 #4F56E2 #E24F9F
split-complementary
#E2DB4F #4F9FE2 #924FE2
monochromatic
#9D971A #D1C922 #E2DB4F #EBE684 #F3F0B8

Accessibility & contrast

On white

1.45
#E2DB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.48
#E2DB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DB4F
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DB4F#FFFFFF#000000##000000
##E2DB4F1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD33C
Deuteranopia (green-blind)
#F0D958
Tritanopia (blue-blind)
#F2CDBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db4f;
/* rgb */ color: rgb(226, 219, 79);
/* oklch */ color: oklch(87.2% 0.157 106.5);
Tailwind
colors: {
  custom: {
    50: '#eee587',
    500: '#e2db4f',
    950: '#000000',
  },
}
SCSS
$custom: #e2db4f;
$custom-light: #eee587;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db4f",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 79
  },
  "hsl": {
    "h": 57.143,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.87194,
    "c": 0.1573,
    "h": 106.5
  },
  "luminance": 0.67396
}

Semantic roles & 50–950 ramp

primary
#E2DB4F
secondary
#353AA0
accent
#42EE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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