#E5D170#E5D170

#E5D170 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.120 H 97.9°. Best body text is #000000 at 13.69:1 contrast (WCAG AA passes).

Color values

HEX#E5D170
RGBrgb(229, 209, 112)
HSLhsl(50, 69%, 67%)
HSVhsv(50, 51%, 90%)
CMYKcmyk(0%, 8.7%, 51.1%, 10.2%)
CIE-LABlab(83.67, -5.41, 50.18)
CIE-LCHlch(83.67, 50.47, 96.15°)
OKLaboklab(85.74% -0.0166 0.1189)
OKLCHoklch(85.74% 0.12 97.9)
XYZxyz(58.0401, 63.4311, 24.5122)
Luminance0.6343 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D170 #7084E5
analogous
#E59770 #E5D170 #BEE570
triadic
#E5D170 #70E5D1 #D170E5
tetradic
#E5D170 #70E597 #7084E5 #E570BE
square
#E5D170 #70E597 #7084E5 #E570BE
split-complementary
#E5D170 #70BEE5 #9770E5
monochromatic
#B99F22 #DCC03C #E5D170 #EEE2A4 #F8F2D8

Accessibility & contrast

On white

1.53
#E5D170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.69
#E5D170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D170
13.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D170#FFFFFF#000000##000000
##E5D1701.001.5313.6913.69
#FFFFFF1.531.0021.0021.00
#00000013.6921.001.001.00
##00000013.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CC67
Deuteranopia (green-blind)
#E7D474
Tritanopia (blue-blind)
#F4C5BA
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e5d170;
/* rgb */ color: rgb(229, 209, 112);
/* oklch */ color: oklch(85.7% 0.120 97.9);
Tailwind
colors: {
  custom: {
    50: '#efde9b',
    500: '#e5d170',
    950: '#000000',
  },
}
SCSS
$custom: #e5d170;
$custom-light: #efde9b;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d170",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 112
  },
  "hsl": {
    "h": 49.744,
    "s": 69.231,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85737,
    "c": 0.12003,
    "h": 97.9
  },
  "luminance": 0.63429
}

Semantic roles & 50–950 ramp

primary
#E5D170
secondary
#4055B9
accent
#35D114
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D170

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

Preview Lab → · Contrast checker → · Palette generator →

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