#E2E031#E2E031

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

Color values

HEX#E2E031
RGBrgb(226, 224, 49)
HSLhsl(59, 75%, 54%)
HSVhsv(59, 78%, 89%)
CMYKcmyk(0%, 0.9%, 78.3%, 11.4%)
CIE-LABlab(86.85, -17.83, 78.16)
CIE-LCHlch(86.85, 80.17, 102.85°)
OKLaboklab(88.05% -0.058 0.1695)
OKLCHoklch(88.05% 0.179 108.9)
XYZxyz(58.5764, 69.7037, 13.2737)
Luminance0.6970 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2E031 #3133E2
analogous
#E28831 #E2E031 #8CE231
triadic
#E2E031 #31E2E0 #E031E2
tetradic
#E2E031 #31E288 #3133E2 #E2318C
square
#E2E031 #31E288 #3133E2 #E2318C
split-complementary
#E2E031 #318CE2 #8831E2
monochromatic
#868413 #BBBA1A #E2E031 #EAE867 #F1F09C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2E031#FFFFFF#000000##000000
##E2E0311.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)
#F5DC41
Tritanopia (blue-blind)
#F3D1C0
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2e031;
/* rgb */ color: rgb(226, 224, 49);
/* oklch */ color: oklch(88.1% 0.179 108.9);
Tailwind
colors: {
  custom: {
    50: '#efe979',
    500: '#e2e031',
    950: '#000000',
  },
}
SCSS
$custom: #e2e031;
$custom-light: #efe979;
$custom-dark: #000000;
JSON
{
  "hex": "#e2e031",
  "rgb": {
    "r": 226,
    "g": 224,
    "b": 49
  },
  "hsl": {
    "h": 59.322,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.88054,
    "c": 0.17914,
    "h": 108.9
  },
  "luminance": 0.69702
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2E031

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

Preview Lab → · Contrast checker → · Palette generator →

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