#E5D970#E5D970

#E5D970 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.4% C 0.127 H 102.8°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#E5D970
RGBrgb(229, 217, 112)
HSLhsl(54, 69%, 67%)
HSVhsv(54, 51%, 90%)
CMYKcmyk(0%, 5.2%, 51.1%, 10.2%)
CIE-LABlab(85.73, -9.46, 52.64)
CIE-LCHlch(85.73, 53.48, 100.19°)
OKLaboklab(87.37% -0.0282 0.1243)
OKLCHoklch(87.37% 0.127 102.8)
XYZxyz(60.0523, 67.4556, 25.1830)
Luminance0.6745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D970 #707CE5
analogous
#E59F70 #E5D970 #B7E570
triadic
#E5D970 #70E5D9 #D970E5
tetradic
#E5D970 #70E59F #707CE5 #E570B7
square
#E5D970 #70E59F #707CE5 #E570B7
split-complementary
#E5D970 #70B7E5 #9F70E5
monochromatic
#B9A922 #DCCB3C #E5D970 #EEE7A4 #F8F5D8

Accessibility & contrast

On white

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

On black

14.49
#E5D970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D970
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D970#FFFFFF#000000##000000
##E5D9701.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D366
Deuteranopia (green-blind)
#EDD975
Tritanopia (blue-blind)
#F4CDC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e5d970;
/* rgb */ color: rgb(229, 217, 112);
/* oklch */ color: oklch(87.4% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#efe49c',
    500: '#e5d970',
    950: '#000000',
  },
}
SCSS
$custom: #e5d970;
$custom-light: #efe49c;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d970",
  "rgb": {
    "r": 229,
    "g": 217,
    "b": 112
  },
  "hsl": {
    "h": 53.846,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.87374,
    "c": 0.12743,
    "h": 102.8
  },
  "luminance": 0.67454
}

Semantic roles & 50–950 ramp

primary
#E5D970
secondary
#404DB9
accent
#28D114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D970

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

Preview Lab → · Contrast checker → · Palette generator →

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