#E2DA31#E2DA31

#E2DA31 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 86.8% C 0.174 H 106.6°. Best body text is #000000 at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#E2DA31
RGBrgb(226, 218, 49)
HSLhsl(57, 75%, 54%)
HSVhsv(57, 78%, 89%)
CMYKcmyk(0%, 3.5%, 78.3%, 11.4%)
CIE-LABlab(85.27, -14.88, 76.77)
CIE-LCHlch(85.27, 78.19, 100.97°)
OKLaboklab(86.79% -0.0497 0.1665)
OKLCHoklch(86.79% 0.174 106.6)
XYZxyz(56.9922, 66.5354, 12.7457)
Luminance0.6653 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2DA31 #3139E2
analogous
#E28231 #E2DA31 #92E231
triadic
#E2DA31 #31E2DA #DA31E2
tetradic
#E2DA31 #31E282 #3139E2 #E23192
square
#E2DA31 #31E282 #3139E2 #E23192
split-complementary
#E2DA31 #3192E2 #8231E2
monochromatic
#868113 #BBB41A #E2DA31 #EAE467 #F1ED9C

Accessibility & contrast

On white

1.47
#E2DA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.31
#E2DA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2DA31
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2DA31#FFFFFF#000000##000000
##E2DA311.001.4714.3114.31
#FFFFFF1.471.0021.0021.00
#00000014.3121.001.001.00
##00000014.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD200
Deuteranopia (green-blind)
#F1D840
Tritanopia (blue-blind)
#F3CBBB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e2da31;
/* rgb */ color: rgb(226, 218, 49);
/* oklch */ color: oklch(86.8% 0.174 106.6);
Tailwind
colors: {
  custom: {
    50: '#efe578',
    500: '#e2da31',
    950: '#000000',
  },
}
SCSS
$custom: #e2da31;
$custom-light: #efe578;
$custom-dark: #000000;
JSON
{
  "hex": "#e2da31",
  "rgb": {
    "r": 226,
    "g": 218,
    "b": 49
  },
  "hsl": {
    "h": 57.288,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.86791,
    "c": 0.17377,
    "h": 106.6
  },
  "luminance": 0.66533
}

Semantic roles & 50–950 ramp

primary
#E2DA31
secondary
#2B308C
accent
#3EF236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2DA31

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

Preview Lab → · Contrast checker → · Palette generator →

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