#E4D973#E4D973

#E4D973 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.3% C 0.125 H 103.1°. Best body text is #000000 at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#E4D973
RGBrgb(228, 217, 115)
HSLhsl(54, 68%, 67%)
HSVhsv(54, 50%, 89%)
CMYKcmyk(0%, 4.8%, 49.6%, 10.6%)
CIE-LABlab(85.69, -9.61, 51.14)
CIE-LCHlch(85.69, 52.03, 100.64°)
OKLaboklab(87.33% -0.0283 0.1213)
OKLCHoklch(87.33% 0.125 103.1)
XYZxyz(59.9039, 67.3594, 26.0625)
Luminance0.6736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4D973 #737EE4
analogous
#E4A073 #E4D973 #B7E473
triadic
#E4D973 #73E4D9 #D973E4
tetradic
#E4D973 #73E4A0 #737EE4 #E473B7
square
#E4D973 #73E4A0 #737EE4 #E473B7
split-complementary
#E4D973 #73B7E4 #A073E4
monochromatic
#B9AA24 #DACB40 #E4D973 #EEE7A6 #F8F5DA

Accessibility & contrast

On white

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

On black

14.47
#E4D973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4D973
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4D973#FFFFFF#000000##000000
##E4D9731.001.4514.4714.47
#FFFFFF1.451.0021.0021.00
#00000014.4721.001.001.00
##00000014.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D36A
Deuteranopia (green-blind)
#EDD978
Tritanopia (blue-blind)
#F2CDC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e4d973;
/* rgb */ color: rgb(228, 217, 115);
/* oklch */ color: oklch(87.3% 0.125 103.1);
Tailwind
colors: {
  custom: {
    50: '#efe49d',
    500: '#e4d973',
    950: '#000000',
  },
}
SCSS
$custom: #e4d973;
$custom-light: #efe49d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4d973",
  "rgb": {
    "r": 228,
    "g": 217,
    "b": 115
  },
  "hsl": {
    "h": 54.159,
    "s": 67.665,
    "l": 67.255
  },
  "oklch": {
    "l": 0.87327,
    "c": 0.12451,
    "h": 103.1
  },
  "luminance": 0.67357
}

Semantic roles & 50–950 ramp

primary
#E4D973
secondary
#424EB9
accent
#28D016
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E4D973

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

Preview Lab → · Contrast checker → · Palette generator →

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