#E1D172#E1D172

#E1D172 is a very light, moderate yellow. Relative luminance 0.628; OKLCH L 85.4% C 0.118 H 99.9°. Best body text is #000000 at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#E1D172
RGBrgb(225, 209, 114)
HSLhsl(51, 65%, 66%)
HSVhsv(51, 49%, 88%)
CMYKcmyk(0%, 7.1%, 49.3%, 11.8%)
CIE-LABlab(83.35, -6.86, 48.75)
CIE-LCHlch(83.35, 49.23, 98.01°)
OKLaboklab(85.41% -0.0203 0.116)
OKLCHoklch(85.41% 0.118 99.9)
XYZxyz(56.8907, 62.8254, 25.0461)
Luminance0.6282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E1D172 #7282E1
analogous
#E19A72 #E1D172 #BAE172
triadic
#E1D172 #72E1D1 #D172E1
tetradic
#E1D172 #72E19A #7282E1 #E172BA
square
#E1D172 #72E19A #7282E1 #E172BA
split-complementary
#E1D172 #72BAE1 #9A72E1
monochromatic
#B39E26 #D6C140 #E1D172 #ECE1A4 #F6F2D7

Accessibility & contrast

On white

1.55
#E1D172 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.56
#E1D172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E1D172
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E1D172#FFFFFF#000000##000000
##E1D1721.001.5513.5613.56
#FFFFFF1.551.0021.0021.00
#00000013.5621.001.001.00
##00000013.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CC6A
Deuteranopia (green-blind)
#E5D276
Tritanopia (blue-blind)
#EFC5BB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #e1d172;
/* rgb */ color: rgb(225, 209, 114);
/* oklch */ color: oklch(85.4% 0.118 99.9);
Tailwind
colors: {
  custom: {
    50: '#ecde9c',
    500: '#e1d172',
    950: '#000000',
  },
}
SCSS
$custom: #e1d172;
$custom-light: #ecde9c;
$custom-dark: #000000;
JSON
{
  "hex": "#e1d172",
  "rgb": {
    "r": 225,
    "g": 209,
    "b": 114
  },
  "hsl": {
    "h": 51.351,
    "s": 64.912,
    "l": 66.471
  },
  "oklch": {
    "l": 0.85411,
    "c": 0.11774,
    "h": 99.9
  },
  "luminance": 0.62823
}

Semantic roles & 50–950 ramp

primary
#E1D172
secondary
#4354B4
accent
#33CD19
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E1D172

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

Preview Lab → · Contrast checker → · Palette generator →

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