#E0D342#E0D342

#E0D342 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.3% C 0.159 H 104.1°. Best body text is #000000 at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#E0D342
RGBrgb(224, 211, 66)
HSLhsl(55, 72%, 57%)
HSVhsv(55, 71%, 88%)
CMYKcmyk(0%, 5.8%, 70.5%, 12.2%)
CIE-LABlab(83.35, -11.54, 69.44)
CIE-LCHlch(83.35, 70.39, 99.44°)
OKLaboklab(85.25% -0.0388 0.1541)
OKLCHoklch(85.25% 0.159 104.1)
XYZxyz(55.0204, 62.8314, 14.3827)
Luminance0.6283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D342 #424FE0
analogous
#E08442 #E0D342 #9EE042
triadic
#E0D342 #42E0D3 #D342E0
tetradic
#E0D342 #42E084 #424FE0 #E0429E
square
#E0D342 #42E084 #424FE0 #E0429E
split-complementary
#E0D342 #429EE0 #8442E0
monochromatic
#908618 #C5B720 #E0D342 #E9DF77 #F1EBAB

Accessibility & contrast

On white

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

On black

13.57
#E0D342 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D342
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D342#FFFFFF#000000##000000
##E0D3421.001.5513.5713.57
#FFFFFF1.551.0021.0021.00
#00000013.5721.001.001.00
##00000013.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC2A
Deuteranopia (green-blind)
#EAD34C
Tritanopia (blue-blind)
#F1C5B6
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e0d342;
/* rgb */ color: rgb(224, 211, 66);
/* oklch */ color: oklch(85.3% 0.159 104.1);
Tailwind
colors: {
  custom: {
    50: '#ede07f',
    500: '#e0d342',
    950: '#000000',
  },
}
SCSS
$custom: #e0d342;
$custom-light: #ede07f;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d342",
  "rgb": {
    "r": 224,
    "g": 211,
    "b": 66
  },
  "hsl": {
    "h": 55.063,
    "s": 71.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.85254,
    "c": 0.15887,
    "h": 104.1
  },
  "luminance": 0.62829
}

Semantic roles & 50–950 ramp

primary
#E0D342
secondary
#313995
accent
#48EF39
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E0D342

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

Preview Lab → · Contrast checker → · Palette generator →

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