#E0DC4B#E0DC4B

#E0DC4B is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.2% C 0.161 H 107.8°. Best body text is #000000 at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#E0DC4B
RGBrgb(224, 220, 75)
HSLhsl(58, 71%, 59%)
HSVhsv(58, 67%, 88%)
CMYKcmyk(0%, 1.8%, 66.5%, 12.2%)
CIE-LABlab(85.78, -15.56, 68.51)
CIE-LCHlch(85.78, 70.26, 102.80°)
OKLaboklab(87.2% -0.0492 0.1536)
OKLCHoklch(87.2% 0.161 107.8)
XYZxyz(57.6057, 67.5435, 16.6580)
Luminance0.6754 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0DC4B #4B4FE0
analogous
#E0914B #E0DC4B #99E04B
triadic
#E0DC4B #4BE0DC #DC4BE0
tetradic
#E0DC4B #4BE091 #4B4FE0 #E04B99
square
#E0DC4B #4BE091 #4B4FE0 #E04B99
split-complementary
#E0DC4B #4B99E0 #914BE0
monochromatic
#97931A #CBC623 #E0DC4B #E9E67F #F2F0B3

Accessibility & contrast

On white

1.45
#E0DC4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.51
#E0DC4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0DC4B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0DC4B#FFFFFF#000000##000000
##E0DC4B1.001.4514.5114.51
#FFFFFF1.451.0021.0021.00
#00000014.5121.001.001.00
##00000014.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED436
Deuteranopia (green-blind)
#F0D955
Tritanopia (blue-blind)
#F0CEBF
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e0dc4b;
/* rgb */ color: rgb(224, 220, 75);
/* oklch */ color: oklch(87.2% 0.161 107.8);
Tailwind
colors: {
  custom: {
    50: '#ede685',
    500: '#e0dc4b',
    950: '#000000',
  },
}
SCSS
$custom: #e0dc4b;
$custom-light: #ede685;
$custom-dark: #000000;
JSON
{
  "hex": "#e0dc4b",
  "rgb": {
    "r": 224,
    "g": 220,
    "b": 75
  },
  "hsl": {
    "h": 58.389,
    "s": 70.616,
    "l": 58.627
  },
  "oklch": {
    "l": 0.87204,
    "c": 0.1613,
    "h": 107.8
  },
  "luminance": 0.67542
}

Semantic roles & 50–950 ramp

primary
#E0DC4B
secondary
#34379B
accent
#3FED3A
background
#FFFEFC
surface
#FEFCF3
border
#D6D5CD
text
#17150C
muted
#85847F

Preview Lab

Preview with #E0DC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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