#E0D142#E0D142

#E0D142 is a very light, vivid yellow. Relative luminance 0.618; OKLCH L 84.8% C 0.157 H 103.2°. Best body text is #000000 at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#E0D142
RGBrgb(224, 209, 66)
HSLhsl(54, 72%, 57%)
HSVhsv(54, 71%, 88%)
CMYKcmyk(0%, 6.7%, 70.5%, 12.2%)
CIE-LABlab(82.83, -10.54, 68.93)
CIE-LCHlch(82.83, 69.73, 98.69°)
OKLaboklab(84.84% -0.036 0.153)
OKLCHoklch(84.84% 0.157 103.2)
XYZxyz(54.5266, 61.8438, 14.2181)
Luminance0.6184 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D142 #4251E0
analogous
#E08242 #E0D142 #A0E042
triadic
#E0D142 #42E0D1 #D142E0
tetradic
#E0D142 #42E082 #4251E0 #E042A0
square
#E0D142 #42E082 #4251E0 #E042A0
split-complementary
#E0D142 #42A0E0 #8242E0
monochromatic
#908518 #C5B520 #E0D142 #E9DE77 #F1EBAB

Accessibility & contrast

On white

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

On black

13.37
#E0D142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D142
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D142#FFFFFF#000000##000000
##E0D1421.001.5713.3713.37
#FFFFFF1.571.0021.0021.00
#00000013.3721.001.001.00
##00000013.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CA2B
Deuteranopia (green-blind)
#E8D14C
Tritanopia (blue-blind)
#F1C3B5
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #e0d142;
/* rgb */ color: rgb(224, 209, 66);
/* oklch */ color: oklch(84.8% 0.157 103.2);
Tailwind
colors: {
  custom: {
    50: '#edde7f',
    500: '#e0d142',
    950: '#000000',
  },
}
SCSS
$custom: #e0d142;
$custom-light: #edde7f;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d142",
  "rgb": {
    "r": 224,
    "g": 209,
    "b": 66
  },
  "hsl": {
    "h": 54.304,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.84838,
    "c": 0.15715,
    "h": 103.2
  },
  "luminance": 0.61842
}

Semantic roles & 50–950 ramp

primary
#E0D142
secondary
#313B95
accent
#4AEF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E0D142

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

Preview Lab → · Contrast checker → · Palette generator →

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