#E2DF31#E2DF31

#E2DF31 is a very light, vivid yellow. Relative luminance 0.692; OKLCH L 87.8% C 0.178 H 108.5°. Best body text is #000000 at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#E2DF31
RGBrgb(226, 223, 49)
HSLhsl(59, 75%, 54%)
HSVhsv(59, 78%, 89%)
CMYKcmyk(0%, 1.3%, 78.3%, 11.4%)
CIE-LABlab(86.59, -17.34, 77.93)
CIE-LCHlch(86.59, 79.83, 102.54°)
OKLaboklab(87.84% -0.0566 0.169)
OKLCHoklch(87.84% 0.178 108.5)
XYZxyz(58.3084, 69.1678, 13.1844)
Luminance0.6917 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DF31 #3134E2
analogous
#E28731 #E2DF31 #8DE231
triadic
#E2DF31 #31E2DF #DF31E2
tetradic
#E2DF31 #31E287 #3134E2 #E2318D
square
#E2DF31 #31E287 #3134E2 #E2318D
split-complementary
#E2DF31 #318DE2 #8731E2
monochromatic
#868413 #BBB91A #E2DF31 #EAE767 #F1F09C

Accessibility & contrast

On white

1.42
#E2DF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.83
#E2DF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DF31
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DF31#FFFFFF#000000##000000
##E2DF311.001.4214.8314.83
#FFFFFF1.421.0021.0021.00
#00000014.8321.001.001.00
##00000014.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D600
Deuteranopia (green-blind)
#F4DB41
Tritanopia (blue-blind)
#F3D0BF
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e2df31;
/* rgb */ color: rgb(226, 223, 49);
/* oklch */ color: oklch(87.8% 0.178 108.5);
Tailwind
colors: {
  custom: {
    50: '#efe879',
    500: '#e2df31',
    950: '#000000',
  },
}
SCSS
$custom: #e2df31;
$custom-light: #efe879;
$custom-dark: #000000;
JSON
{
  "hex": "#e2df31",
  "rgb": {
    "r": 226,
    "g": 223,
    "b": 49
  },
  "hsl": {
    "h": 58.983,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.87843,
    "c": 0.17823,
    "h": 108.5
  },
  "luminance": 0.69166
}

Semantic roles & 50–950 ramp

primary
#E2DF31
secondary
#2B2D8C
accent
#39F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17160A
muted
#85847D

Preview Lab

Preview with #E2DF31

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

Preview Lab → · Contrast checker → · Palette generator →

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