#E2DB4E#E2DB4E

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

Color values

HEX#E2DB4E
RGBrgb(226, 219, 78)
HSLhsl(57, 72%, 60%)
HSVhsv(57, 65%, 89%)
CMYKcmyk(0%, 3.1%, 65.5%, 11.4%)
CIE-LABlab(85.70, -14.08, 67.32)
CIE-LCHlch(85.70, 68.78, 101.81°)
OKLaboklab(87.19% -0.0448 0.1515)
OKLCHoklch(87.19% 0.158 106.5)
XYZxyz(58.0728, 67.3838, 17.1536)
Luminance0.6738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DB4E #4E55E2
analogous
#E2914E #E2DB4E #9FE24E
triadic
#E2DB4E #4EE2DB #DB4EE2
tetradic
#E2DB4E #4EE291 #4E55E2 #E24E9F
square
#E2DB4E #4EE291 #4E55E2 #E24E9F
split-complementary
#E2DB4E #4E9FE2 #914EE2
monochromatic
#9C961A #D1C822 #E2DB4E #EBE683 #F3F0B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2DB4E#FFFFFF#000000##000000
##E2DB4E1.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)
#EDD33B
Deuteranopia (green-blind)
#F0D957
Tritanopia (blue-blind)
#F2CDBE
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e2db4e;
/* rgb */ color: rgb(226, 219, 78);
/* oklch */ color: oklch(87.2% 0.158 106.5);
Tailwind
colors: {
  custom: {
    50: '#eee587',
    500: '#e2db4e',
    950: '#000000',
  },
}
SCSS
$custom: #e2db4e;
$custom-light: #eee587;
$custom-dark: #000000;
JSON
{
  "hex": "#e2db4e",
  "rgb": {
    "r": 226,
    "g": 219,
    "b": 78
  },
  "hsl": {
    "h": 57.162,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.87186,
    "c": 0.15801,
    "h": 106.5
  },
  "luminance": 0.67382
}

Semantic roles & 50–950 ramp

primary
#E2DB4E
secondary
#353A9F
accent
#42EF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E2DB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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