#E2D231#E2D231

#E2D231 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.1% C 0.167 H 103.4°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#E2D231
RGBrgb(226, 210, 49)
HSLhsl(55, 75%, 54%)
HSVhsv(55, 78%, 89%)
CMYKcmyk(0%, 7.1%, 78.3%, 11.4%)
CIE-LABlab(83.17, -10.89, 74.91)
CIE-LCHlch(83.17, 75.69, 98.27°)
OKLaboklab(85.12% -0.0386 0.1625)
OKLCHoklch(85.12% 0.167 103.4)
XYZxyz(54.9676, 62.4861, 12.0708)
Luminance0.6248 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2D231 #3141E2
analogous
#E27A31 #E2D231 #9AE231
triadic
#E2D231 #31E2D2 #D231E2
tetradic
#E2D231 #31E27A #3141E2 #E2319A
square
#E2D231 #31E27A #3141E2 #E2319A
split-complementary
#E2D231 #319AE2 #7A31E2
monochromatic
#867B13 #BBAD1A #E2D231 #EADE67 #F1E99C

Accessibility & contrast

On white

1.56
#E2D231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.50
#E2D231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2D231
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2D231#FFFFFF#000000##000000
##E2D2311.001.5613.5013.50
#FFFFFF1.561.0021.0021.00
#00000013.5021.001.001.00
##00000013.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#EBD23E
Tritanopia (blue-blind)
#F3C3B4
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e2d231;
/* rgb */ color: rgb(226, 210, 49);
/* oklch */ color: oklch(85.1% 0.167 103.4);
Tailwind
colors: {
  custom: {
    50: '#f0df77',
    500: '#e2d231',
    950: '#000000',
  },
}
SCSS
$custom: #e2d231;
$custom-light: #f0df77;
$custom-dark: #000000;
JSON
{
  "hex": "#e2d231",
  "rgb": {
    "r": 226,
    "g": 210,
    "b": 49
  },
  "hsl": {
    "h": 54.576,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.85121,
    "c": 0.16703,
    "h": 103.4
  },
  "luminance": 0.62484
}

Semantic roles & 50–950 ramp

primary
#E2D231
secondary
#2B348C
accent
#47F236
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #E2D231

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

Preview Lab → · Contrast checker → · Palette generator →

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