#E0D251#E0D251

#E0D251 is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.2% C 0.148 H 103.1°. Best body text is #000000 at 13.51:1 contrast (WCAG AA passes).

Color values

HEX#E0D251
RGBrgb(224, 210, 81)
HSLhsl(54, 70%, 60%)
HSVhsv(54, 64%, 88%)
CMYKcmyk(0%, 6.3%, 63.8%, 12.2%)
CIE-LABlab(83.20, -10.23, 63.46)
CIE-LCHlch(83.20, 64.28, 99.16°)
OKLaboklab(85.16% -0.0335 0.1439)
OKLCHoklch(85.16% 0.148 103.1)
XYZxyz(55.2744, 62.5367, 16.9422)
Luminance0.6253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D251 #515FE0
analogous
#E08B51 #E0D251 #A6E051
triadic
#E0D251 #51E0D2 #D251E0
tetradic
#E0D251 #51E08B #515FE0 #E051A6
square
#E0D251 #51E08B #515FE0 #E051A6
split-complementary
#E0D251 #51A6E0 #8B51E0
monochromatic
#9B8F1C #CFBE25 #E0D251 #E9DF85 #F3EDB9

Accessibility & contrast

On white

1.55
#E0D251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.51
#E0D251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D251
13.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D251#FFFFFF#000000##000000
##E0D2511.001.5513.5113.51
#FFFFFF1.551.0021.0021.00
#00000013.5121.001.001.00
##00000013.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB41
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#F0C4B7
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #e0d251;
/* rgb */ color: rgb(224, 210, 81);
/* oklch */ color: oklch(85.2% 0.148 103.1);
Tailwind
colors: {
  custom: {
    50: '#eddf88',
    500: '#e0d251',
    950: '#000000',
  },
}
SCSS
$custom: #e0d251;
$custom-light: #eddf88;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d251",
  "rgb": {
    "r": 224,
    "g": 210,
    "b": 81
  },
  "hsl": {
    "h": 54.126,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.85164,
    "c": 0.14771,
    "h": 103.1
  },
  "luminance": 0.62535
}

Semantic roles & 50–950 ramp

primary
#E0D251
secondary
#37419F
accent
#4DED3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0D251

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

Preview Lab → · Contrast checker → · Palette generator →

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