#E2D431#E2D431

#E2D431 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.5% C 0.169 H 104.2°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#E2D431
RGBrgb(226, 212, 49)
HSLhsl(55, 75%, 54%)
HSVhsv(55, 78%, 89%)
CMYKcmyk(0%, 6.2%, 78.3%, 11.4%)
CIE-LABlab(83.69, -11.89, 75.37)
CIE-LCHlch(83.69, 76.30, 98.97°)
OKLaboklab(85.54% -0.0414 0.1635)
OKLCHoklch(85.54% 0.169 104.2)
XYZxyz(55.4644, 63.4798, 12.2364)
Luminance0.6348 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D431 #313FE2
analogous
#E27C31 #E2D431 #98E231
triadic
#E2D431 #31E2D4 #D431E2
tetradic
#E2D431 #31E27C #313FE2 #E23198
square
#E2D431 #31E27C #313FE2 #E23198
split-complementary
#E2D431 #3198E2 #7C31E2
monochromatic
#867D13 #BBAF1A #E2D431 #EADF67 #F1EA9C

Accessibility & contrast

On white

1.53
#E2D431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#E2D431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D431
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D431#FFFFFF#000000##000000
##E2D4311.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD00
Deuteranopia (green-blind)
#ECD43F
Tritanopia (blue-blind)
#F3C5B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e2d431;
/* rgb */ color: rgb(226, 212, 49);
/* oklch */ color: oklch(85.5% 0.169 104.2);
Tailwind
colors: {
  custom: {
    50: '#efe077',
    500: '#e2d431',
    950: '#000000',
  },
}
SCSS
$custom: #e2d431;
$custom-light: #efe077;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d431",
  "rgb": {
    "r": 226,
    "g": 212,
    "b": 49
  },
  "hsl": {
    "h": 55.254,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.85537,
    "c": 0.16867,
    "h": 104.2
  },
  "luminance": 0.63477
}

Semantic roles & 50–950 ramp

primary
#E2D431
secondary
#2B338C
accent
#45F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D431

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

Preview Lab → · Contrast checker → · Palette generator →

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