#E8D174#E8D174

#E8D174 is a very light, moderate yellow. Relative luminance 0.640; OKLCH L 86.1% C 0.116 H 95.8°. Best body text is #000000 at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#E8D174
RGBrgb(232, 209, 116)
HSLhsl(48, 72%, 68%)
HSVhsv(48, 50%, 91%)
CMYKcmyk(0%, 9.9%, 50%, 9%)
CIE-LABlab(83.98, -3.85, 48.68)
CIE-LCHlch(83.98, 48.83, 94.52°)
OKLaboklab(86.06% -0.0118 0.1159)
OKLCHoklch(86.06% 0.116 95.8)
XYZxyz(59.2335, 64.0201, 25.7566)
Luminance0.6402 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D174 #748BE8
analogous
#E89774 #E8D174 #C5E874
triadic
#E8D174 #74E8D1 #D174E8
tetradic
#E8D174 #74E897 #748BE8 #E874C5
square
#E8D174 #74E897 #748BE8 #E874C5
split-complementary
#E8D174 #74C5E8 #9774E8
monochromatic
#C2A220 #DFC03F #E8D174 #F1E2A9 #F9F4DD

Accessibility & contrast

On white

1.52
#E8D174 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.80
#E8D174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D174
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D174#FFFFFF#000000##000000
##E8D1741.001.5213.8013.80
#FFFFFF1.521.0021.0021.00
#00000013.8021.001.001.00
##00000013.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD6C
Deuteranopia (green-blind)
#E8D578
Tritanopia (blue-blind)
#F7C5BB
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e8d174;
/* rgb */ color: rgb(232, 209, 116);
/* oklch */ color: oklch(86.1% 0.116 95.8);
Tailwind
colors: {
  custom: {
    50: '#f1de9e',
    500: '#e8d174',
    950: '#000000',
  },
}
SCSS
$custom: #e8d174;
$custom-light: #f1de9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d174",
  "rgb": {
    "r": 232,
    "g": 209,
    "b": 116
  },
  "hsl": {
    "h": 48.103,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.86058,
    "c": 0.11648,
    "h": 95.8
  },
  "luminance": 0.64018
}

Semantic roles & 50–950 ramp

primary
#E8D174
secondary
#405AC0
accent
#38D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E8D174

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

Preview Lab → · Contrast checker → · Palette generator →

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