#E7D174#E7D174

#E7D174 is a very light, moderate yellow. Relative luminance 0.639; OKLCH L 86.0% C 0.116 H 96.4°. Best body text is #000000 at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#E7D174
RGBrgb(231, 209, 116)
HSLhsl(49, 71%, 68%)
HSVhsv(49, 50%, 91%)
CMYKcmyk(0%, 9.5%, 49.8%, 9.4%)
CIE-LABlab(83.89, -4.25, 48.56)
CIE-LCHlch(83.89, 48.74, 95.01°)
OKLaboklab(85.97% -0.0129 0.1156)
OKLCHoklch(85.97% 0.116 96.4)
XYZxyz(58.9097, 63.8531, 25.7414)
Luminance0.6385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D174 #748AE7
analogous
#E79774 #E7D174 #C3E774
triadic
#E7D174 #74E7D1 #D174E7
tetradic
#E7D174 #74E797 #748AE7 #E774C3
square
#E7D174 #74E797 #748AE7 #E774C3
split-complementary
#E7D174 #74C3E7 #9774E7
monochromatic
#C0A121 #DEC040 #E7D174 #F0E2A8 #F9F4DC

Accessibility & contrast

On white

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

On black

13.77
#E7D174 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D174
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D174#FFFFFF#000000##000000
##E7D1741.001.5313.7713.77
#FFFFFF1.531.0021.0021.00
#00000013.7721.001.001.00
##00000013.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7d174;
/* rgb */ color: rgb(231, 209, 116);
/* oklch */ color: oklch(86.0% 0.116 96.4);
Tailwind
colors: {
  custom: {
    50: '#f1de9e',
    500: '#e7d174',
    950: '#000000',
  },
}
SCSS
$custom: #e7d174;
$custom-light: #f1de9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d174",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 116
  },
  "hsl": {
    "h": 48.522,
    "s": 70.552,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85968,
    "c": 0.11634,
    "h": 96.4
  },
  "luminance": 0.63851
}

Semantic roles & 50–950 ramp

primary
#E7D174
secondary
#4159BF
accent
#38D313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F

Preview Lab

Preview with #E7D174

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

Preview Lab → · Contrast checker → · Palette generator →

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