#E0DC5A#E0DC5A

#E0DC5A is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.3% C 0.150 H 107.5°. Best body text is #000000 at 14.55:1 contrast (WCAG AA passes).

Color values

HEX#E0DC5A
RGBrgb(224, 220, 90)
HSLhsl(58, 68%, 62%)
HSVhsv(58, 60%, 88%)
CMYKcmyk(0%, 1.8%, 59.8%, 12.2%)
CIE-LABlab(85.89, -14.66, 62.58)
CIE-LCHlch(85.89, 64.28, 103.18°)
OKLaboklab(87.33% -0.0451 0.1433)
OKLCHoklch(87.33% 0.15 107.5)
XYZxyz(58.1810, 67.7736, 19.6877)
Luminance0.6777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0DC5A #5A5EE0
analogous
#E0995A #E0DC5A #A1E05A
triadic
#E0DC5A #5AE0DC #DC5AE0
tetradic
#E0DC5A #5AE099 #5A5EE0 #E05AA1
square
#E0DC5A #5AE099 #5A5EE0 #E05AA1
split-complementary
#E0DC5A #5AA1E0 #995AE0
monochromatic
#A19D1E #D5D028 #E0DC5A #EAE78E #F3F2C1

Accessibility & contrast

On white

1.44
#E0DC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.55
#E0DC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0DC5A
14.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0DC5A#FFFFFF#000000##000000
##E0DC5A1.001.4414.5514.55
#FFFFFF1.441.0021.0021.00
#00000014.5521.001.001.00
##00000014.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD44B
Deuteranopia (green-blind)
#EFD962
Tritanopia (blue-blind)
#EFCFC0
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #e0dc5a;
/* rgb */ color: rgb(224, 220, 90);
/* oklch */ color: oklch(87.3% 0.150 107.5);
Tailwind
colors: {
  custom: {
    50: '#ede68e',
    500: '#e0dc5a',
    950: '#000000',
  },
}
SCSS
$custom: #e0dc5a;
$custom-light: #ede68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e0dc5a",
  "rgb": {
    "r": 224,
    "g": 220,
    "b": 90
  },
  "hsl": {
    "h": 58.209,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.87333,
    "c": 0.1502,
    "h": 107.5
  },
  "luminance": 0.67772
}

Semantic roles & 50–950 ramp

primary
#E0DC5A
secondary
#3A3DA4
accent
#1BD015
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #E0DC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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