#E7D177#E7D177

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

Color values

HEX#E7D177
RGBrgb(231, 209, 119)
HSLhsl(48, 70%, 69%)
HSVhsv(48, 48%, 91%)
CMYKcmyk(0%, 9.5%, 48.5%, 9.4%)
CIE-LABlab(83.93, -3.98, 47.14)
CIE-LCHlch(83.93, 47.31, 94.83°)
OKLaboklab(86.01% -0.0118 0.1127)
OKLCHoklch(86.01% 0.113 96)
XYZxyz(59.0871, 63.9241, 26.6754)
Luminance0.6392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7D177 #778DE7
analogous
#E79977 #E7D177 #C5E777
triadic
#E7D177 #77E7D1 #D177E7
tetradic
#E7D177 #77E799 #778DE7 #E777C5
square
#E7D177 #77E799 #778DE7 #E777C5
split-complementary
#E7D177 #77C5E7 #9977E7
monochromatic
#C1A222 #DEBF43 #E7D177 #F0E3AB #F9F4DF

Accessibility & contrast

On white

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

On black

13.78
#E7D177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7D177
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7D177#FFFFFF#000000##000000
##E7D1771.001.5213.7813.78
#FFFFFF1.521.0021.0021.00
#00000013.7821.001.001.00
##00000013.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CD6F
Deuteranopia (green-blind)
#E7D47B
Tritanopia (blue-blind)
#F6C5BC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #e7d177;
/* rgb */ color: rgb(231, 209, 119);
/* oklch */ color: oklch(86.0% 0.113 96.0);
Tailwind
colors: {
  custom: {
    50: '#f1dea0',
    500: '#e7d177',
    950: '#000000',
  },
}
SCSS
$custom: #e7d177;
$custom-light: #f1dea0;
$custom-dark: #000000;
JSON
{
  "hex": "#e7d177",
  "rgb": {
    "r": 231,
    "g": 209,
    "b": 119
  },
  "hsl": {
    "h": 48.214,
    "s": 70,
    "l": 68.627
  },
  "oklch": {
    "l": 0.8601,
    "c": 0.11335,
    "h": 96
  },
  "luminance": 0.63922
}

Semantic roles & 50–950 ramp

primary
#E7D177
secondary
#435CBF
accent
#39D214
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E7D177

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

Preview Lab → · Contrast checker → · Palette generator →

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