#E0D151#E0D151

#E0D151 is a very light, vivid yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.147 H 102.6°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#E0D151
RGBrgb(224, 209, 81)
HSLhsl(54, 70%, 60%)
HSVhsv(54, 64%, 88%)
CMYKcmyk(0%, 6.7%, 63.8%, 12.2%)
CIE-LABlab(82.94, -9.72, 63.18)
CIE-LCHlch(82.94, 63.93, 98.75°)
OKLaboklab(84.96% -0.0321 0.1433)
OKLCHoklch(84.96% 0.147 102.6)
XYZxyz(55.0283, 62.0445, 16.8602)
Luminance0.6204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D151 #5160E0
analogous
#E08951 #E0D151 #A8E051
triadic
#E0D151 #51E0D1 #D151E0
tetradic
#E0D151 #51E089 #5160E0 #E051A8
square
#E0D151 #51E089 #5160E0 #E051A8
split-complementary
#E0D151 #51A8E0 #8951E0
monochromatic
#9B8E1C #CFBD25 #E0D151 #E9DF85 #F3ECB9

Accessibility & contrast

On white

1.57
#E0D151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#E0D151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D151
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D151#FFFFFF#000000##000000
##E0D1511.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB41
Deuteranopia (green-blind)
#E8D258
Tritanopia (blue-blind)
#F0C3B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e0d151;
/* rgb */ color: rgb(224, 209, 81);
/* oklch */ color: oklch(85.0% 0.147 102.6);
Tailwind
colors: {
  custom: {
    50: '#edde88',
    500: '#e0d151',
    950: '#000000',
  },
}
SCSS
$custom: #e0d151;
$custom-light: #edde88;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d151",
  "rgb": {
    "r": 224,
    "g": 209,
    "b": 81
  },
  "hsl": {
    "h": 53.706,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.84957,
    "c": 0.14683,
    "h": 102.6
  },
  "luminance": 0.62042
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E0D151

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

Preview Lab → · Contrast checker → · Palette generator →

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