#E2E04F#E2E04F

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

Color values

HEX#E2E04F
RGBrgb(226, 224, 79)
HSLhsl(59, 72%, 60%)
HSVhsv(59, 65%, 89%)
CMYKcmyk(0%, 0.9%, 65%, 11.4%)
CIE-LABlab(87.02, -16.49, 68.29)
CIE-LCHlch(87.02, 70.25, 103.57°)
OKLaboklab(88.24% -0.0515 0.1537)
OKLCHoklch(88.24% 0.162 108.5)
XYZxyz(59.4330, 70.0464, 17.7852)
Luminance0.7005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E04F #4F51E2
analogous
#E2974F #E2E04F #9AE24F
triadic
#E2E04F #4FE2E0 #E04FE2
tetradic
#E2E04F #4FE297 #4F51E2 #E24F9A
square
#E2E04F #4FE297 #4F51E2 #E24F9A
split-complementary
#E2E04F #4F9AE2 #974FE2
monochromatic
#9D9B1A #D1CF22 #E2E04F #EBE984 #F3F3B8

Accessibility & contrast

On white

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

On black

15.01
#E2E04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E04F
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E04F#FFFFFF#000000##000000
##E2E04F1.001.4015.0115.01
#FFFFFF1.401.0021.0021.00
#00000015.0121.001.001.00
##00000015.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D73B
Deuteranopia (green-blind)
#F4DC59
Tritanopia (blue-blind)
#F1D2C3
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e2e04f;
/* rgb */ color: rgb(226, 224, 79);
/* oklch */ color: oklch(88.2% 0.162 108.5);
Tailwind
colors: {
  custom: {
    50: '#eee988',
    500: '#e2e04f',
    950: '#000000',
  },
}
SCSS
$custom: #e2e04f;
$custom-light: #eee988;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e04f",
  "rgb": {
    "r": 226,
    "g": 224,
    "b": 79
  },
  "hsl": {
    "h": 59.184,
    "s": 71.707,
    "l": 59.804
  },
  "oklch": {
    "l": 0.88242,
    "c": 0.16212,
    "h": 108.5
  },
  "luminance": 0.70045
}

Semantic roles & 50–950 ramp

primary
#E2E04F
secondary
#3537A0
accent
#3CEE39
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17160C
muted
#85847F

Preview Lab

Preview with #E2E04F

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

Preview Lab → · Contrast checker → · Palette generator →

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