#E2E04D#E2E04D

#E2E04D is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.2% C 0.164 H 108.6°. Best body text is #000000 at 15.00:1 contrast (WCAG AA passes).

Color values

HEX#E2E04D
RGBrgb(226, 224, 77)
HSLhsl(59, 72%, 59%)
HSVhsv(59, 66%, 89%)
CMYKcmyk(0%, 0.9%, 65.9%, 11.4%)
CIE-LABlab(87.01, -16.60, 69.05)
CIE-LCHlch(87.01, 71.01, 103.52°)
OKLaboklab(88.23% -0.0521 0.155)
OKLCHoklch(88.23% 0.164 108.6)
XYZxyz(59.3613, 70.0177, 17.4076)
Luminance0.7002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E04D #4D4FE2
analogous
#E2964D #E2E04D #99E24D
triadic
#E2E04D #4DE2E0 #E04DE2
tetradic
#E2E04D #4DE296 #4D4FE2 #E24D99
square
#E2E04D #4DE296 #4D4FE2 #E24D99
split-complementary
#E2E04D #4D99E2 #964DE2
monochromatic
#9B9A19 #D0CE22 #E2E04D #EBE982 #F3F2B6

Accessibility & contrast

On white

1.40
#E2E04D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.00
#E2E04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E04D
15.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E04D#FFFFFF#000000##000000
##E2E04D1.001.4015.0015.00
#FFFFFF1.401.0021.0021.00
#00000015.0021.001.001.00
##00000015.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D738
Deuteranopia (green-blind)
#F4DC57
Tritanopia (blue-blind)
#F2D2C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2e04d;
/* rgb */ color: rgb(226, 224, 77);
/* oklch */ color: oklch(88.2% 0.164 108.6);
Tailwind
colors: {
  custom: {
    50: '#efe987',
    500: '#e2e04d',
    950: '#000000',
  },
}
SCSS
$custom: #e2e04d;
$custom-light: #efe987;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e04d",
  "rgb": {
    "r": 226,
    "g": 224,
    "b": 77
  },
  "hsl": {
    "h": 59.195,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.88227,
    "c": 0.1635,
    "h": 108.6
  },
  "luminance": 0.70016
}

Semantic roles & 50–950 ramp

primary
#E2E04D
secondary
#34369F
accent
#3CEF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E04D

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

Preview Lab → · Contrast checker → · Palette generator →

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