#E2E02F#E2E02F

#E2E02F is a very light, vivid yellow. Relative luminance 0.697; OKLCH L 88.0% C 0.180 H 108.9°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#E2E02F
RGBrgb(226, 224, 47)
HSLhsl(59, 76%, 54%)
HSVhsv(59, 79%, 89%)
CMYKcmyk(0%, 0.9%, 79.2%, 11.4%)
CIE-LABlab(86.84, -17.89, 78.69)
CIE-LCHlch(86.84, 80.70, 102.81°)
OKLaboklab(88.05% -0.0583 0.1703)
OKLCHoklch(88.05% 0.18 108.9)
XYZxyz(58.5351, 69.6872, 13.0564)
Luminance0.6968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E02F #2F31E2
analogous
#E2872F #E2E02F #8AE22F
triadic
#E2E02F #2FE2E0 #E02FE2
tetradic
#E2E02F #2FE287 #2F31E2 #E22F8A
square
#E2E02F #2FE287 #2F31E2 #E22F8A
split-complementary
#E2E02F #2F8AE2 #872FE2
monochromatic
#848312 #BAB81A #E2E02F #E9E865 #F1F09A

Accessibility & contrast

On white

1.41
#E2E02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#E2E02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2E02F
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2E02F#FFFFFF#000000##000000
##E2E02F1.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D700
Deuteranopia (green-blind)
#F5DC40
Tritanopia (blue-blind)
#F3D1C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2e02f;
/* rgb */ color: rgb(226, 224, 47);
/* oklch */ color: oklch(88.0% 0.180 108.9);
Tailwind
colors: {
  custom: {
    50: '#efe978',
    500: '#e2e02f',
    950: '#000000',
  },
}
SCSS
$custom: #e2e02f;
$custom-light: #efe978;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e02f",
  "rgb": {
    "r": 226,
    "g": 224,
    "b": 47
  },
  "hsl": {
    "h": 59.33,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.88045,
    "c": 0.17999,
    "h": 108.9
  },
  "luminance": 0.69685
}

Semantic roles & 50–950 ramp

primary
#E2E02F
secondary
#2B2C8A
accent
#38F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2E02F

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

Preview Lab → · Contrast checker → · Palette generator →

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