#E0D451#E0D451

#E0D451 is a very light, vivid yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.150 H 104.1°. Best body text is #000000 at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#E0D451
RGBrgb(224, 212, 81)
HSLhsl(55, 70%, 60%)
HSVhsv(55, 64%, 88%)
CMYKcmyk(0%, 5.4%, 63.8%, 12.2%)
CIE-LABlab(83.72, -11.24, 64.01)
CIE-LCHlch(83.72, 64.99, 99.96°)
OKLaboklab(85.58% -0.0364 0.145)
OKLCHoklch(85.58% 0.15 104.1)
XYZxyz(55.7713, 63.5304, 17.1078)
Luminance0.6353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D451 #515DE0
analogous
#E08D51 #E0D451 #A5E051
triadic
#E0D451 #51E0D4 #D451E0
tetradic
#E0D451 #51E08D #515DE0 #E051A5
square
#E0D451 #51E08D #515DE0 #E051A5
split-complementary
#E0D451 #51A5E0 #8D51E0
monochromatic
#9B901C #CFC125 #E0D451 #E9E185 #F3EEB9

Accessibility & contrast

On white

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

On black

13.71
#E0D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D451
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D451#FFFFFF#000000##000000
##E0D4511.001.5313.7113.71
#FFFFFF1.531.0021.0021.00
#00000013.7121.001.001.00
##00000013.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD40
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#F0C6B9
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e0d451;
/* rgb */ color: rgb(224, 212, 81);
/* oklch */ color: oklch(85.6% 0.150 104.1);
Tailwind
colors: {
  custom: {
    50: '#ede088',
    500: '#e0d451',
    950: '#000000',
  },
}
SCSS
$custom: #e0d451;
$custom-light: #ede088;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d451",
  "rgb": {
    "r": 224,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 54.965,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8558,
    "c": 0.14952,
    "h": 104.1
  },
  "luminance": 0.63528
}

Semantic roles & 50–950 ramp

primary
#E0D451
secondary
#373F9F
accent
#4AED3B
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0D451

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

Preview Lab → · Contrast checker → · Palette generator →

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