#E0D945#E0D945

#E0D945 is a very light, vivid yellow. Relative luminance 0.659; OKLCH L 86.5% C 0.162 H 106.6°. Best body text is #000000 at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#E0D945
RGBrgb(224, 217, 69)
HSLhsl(57, 71%, 57%)
HSVhsv(57, 69%, 88%)
CMYKcmyk(0%, 3.1%, 69.2%, 12.2%)
CIE-LABlab(84.95, -14.39, 69.92)
CIE-LCHlch(84.95, 71.38, 101.63°)
OKLaboklab(86.53% -0.0465 0.1556)
OKLCHoklch(86.53% 0.162 106.6)
XYZxyz(56.6297, 65.9046, 15.3669)
Luminance0.6590 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E0D945 #454CE0
analogous
#E08B45 #E0D945 #9AE045
triadic
#E0D945 #45E0D9 #D945E0
tetradic
#E0D945 #45E08B #454CE0 #E0459A
square
#E0D945 #45E08B #454CE0 #E0459A
split-complementary
#E0D945 #459AE0 #8B45E0
monochromatic
#928D18 #C7BF21 #E0D945 #E9E479 #F1EEAE

Accessibility & contrast

On white

1.48
#E0D945 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.18
#E0D945 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E0D945
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E0D945#FFFFFF#000000##000000
##E0D9451.001.4814.1814.18
#FFFFFF1.481.0021.0021.00
#00000014.1821.001.001.00
##00000014.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD12D
Deuteranopia (green-blind)
#EED74F
Tritanopia (blue-blind)
#F0CBBC
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #e0d945;
/* rgb */ color: rgb(224, 217, 69);
/* oklch */ color: oklch(86.5% 0.162 106.6);
Tailwind
colors: {
  custom: {
    50: '#ede482',
    500: '#e0d945',
    950: '#000000',
  },
}
SCSS
$custom: #e0d945;
$custom-light: #ede482;
$custom-dark: #000000;
JSON
{
  "hex": "#e0d945",
  "rgb": {
    "r": 224,
    "g": 217,
    "b": 69
  },
  "hsl": {
    "h": 57.29,
    "s": 71.429,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8653,
    "c": 0.16239,
    "h": 106.6
  },
  "luminance": 0.65903
}

Semantic roles & 50–950 ramp

primary
#E0D945
secondary
#323797
accent
#42EE3A
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#17150B
muted
#85847E

Preview Lab

Preview with #E0D945

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

Preview Lab → · Contrast checker → · Palette generator →

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