#E5D174#E5D174

#E5D174 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.8% C 0.116 H 97.5°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#E5D174
RGBrgb(229, 209, 116)
HSLhsl(49, 68%, 68%)
HSVhsv(49, 49%, 90%)
CMYKcmyk(0%, 8.7%, 49.3%, 10.2%)
CIE-LABlab(83.72, -5.06, 48.31)
CIE-LCHlch(83.72, 48.57, 95.98°)
OKLaboklab(85.79% -0.0151 0.1151)
OKLCHoklch(85.79% 0.116 97.5)
XYZxyz(58.2678, 63.5221, 25.7113)
Luminance0.6352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5D174 #7488E5
analogous
#E59974 #E5D174 #C0E574
triadic
#E5D174 #74E5D1 #D174E5
tetradic
#E5D174 #74E599 #7488E5 #E574C0
square
#E5D174 #74E599 #7488E5 #E574C0
split-complementary
#E5D174 #74C0E5 #9974E5
monochromatic
#BCA123 #DBC040 #E5D174 #EFE2A8 #F8F3DB

Accessibility & contrast

On white

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

On black

13.70
#E5D174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5D174
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5D174#FFFFFF#000000##000000
##E5D1741.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6C
Deuteranopia (green-blind)
#E7D478
Tritanopia (blue-blind)
#F4C5BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e5d174;
/* rgb */ color: rgb(229, 209, 116);
/* oklch */ color: oklch(85.8% 0.116 97.5);
Tailwind
colors: {
  custom: {
    50: '#efde9e',
    500: '#e5d174',
    950: '#000000',
  },
}
SCSS
$custom: #e5d174;
$custom-light: #efde9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5d174",
  "rgb": {
    "r": 229,
    "g": 209,
    "b": 116
  },
  "hsl": {
    "h": 49.381,
    "s": 68.485,
    "l": 67.647
  },
  "oklch": {
    "l": 0.8579,
    "c": 0.11609,
    "h": 97.5
  },
  "luminance": 0.6352
}

Semantic roles & 50–950 ramp

primary
#E5D174
secondary
#4257BB
accent
#36D015
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E5D174

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

Preview Lab → · Contrast checker → · Palette generator →

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