#E2E04C#E2E04C

#E2E04C 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#E2E04C
RGBrgb(226, 224, 76)
HSLhsl(59, 72%, 59%)
HSVhsv(59, 66%, 89%)
CMYKcmyk(0%, 0.9%, 66.4%, 11.4%)
CIE-LABlab(87.00, -16.65, 69.42)
CIE-LCHlch(87.00, 71.39, 103.49°)
OKLaboklab(88.22% -0.0523 0.1556)
OKLCHoklch(88.22% 0.164 108.6)
XYZxyz(59.3262, 70.0037, 17.2230)
Luminance0.7000 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E04C #4C4EE2
analogous
#E2954C #E2E04C #99E24C
triadic
#E2E04C #4CE2E0 #E04CE2
tetradic
#E2E04C #4CE295 #4C4EE2 #E24C99
square
#E2E04C #4CE295 #4C4EE2 #E24C99
split-complementary
#E2E04C #4C99E2 #954CE2
monochromatic
#9B9919 #CFCD22 #E2E04C #EBE981 #F3F2B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E04C#FFFFFF#000000##000000
##E2E04C1.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)
#F2D736
Deuteranopia (green-blind)
#F4DC56
Tritanopia (blue-blind)
#F2D2C2
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2e04c;
/* rgb */ color: rgb(226, 224, 76);
/* oklch */ color: oklch(88.2% 0.164 108.6);
Tailwind
colors: {
  custom: {
    50: '#efe986',
    500: '#e2e04c',
    950: '#000000',
  },
}
SCSS
$custom: #e2e04c;
$custom-light: #efe986;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e04c",
  "rgb": {
    "r": 226,
    "g": 224,
    "b": 76
  },
  "hsl": {
    "h": 59.2,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.88219,
    "c": 0.16418,
    "h": 108.6
  },
  "luminance": 0.70002
}

Semantic roles & 50–950 ramp

primary
#E2E04C
secondary
#34359E
accent
#3BEF39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E04C

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

Preview Lab → · Contrast checker → · Palette generator →

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