#E6D877#E6D877

#E6D877 is a very light, moderate yellow. Relative luminance 0.673; OKLCH L 87.3% C 0.120 H 101.2°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#E6D877
RGBrgb(230, 216, 119)
HSLhsl(52, 69%, 68%)
HSVhsv(52, 48%, 90%)
CMYKcmyk(0%, 6.1%, 48.3%, 9.8%)
CIE-LABlab(85.64, -7.95, 49.21)
CIE-LCHlch(85.64, 49.85, 99.17°)
OKLaboklab(87.35% -0.0232 0.1173)
OKLCHoklch(87.35% 0.12 101.2)
XYZxyz(60.5204, 67.2687, 27.2454)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D877 #7785E6
analogous
#E6A077 #E6D877 #BCE677
triadic
#E6D877 #77E6D8 #D877E6
tetradic
#E6D877 #77E6A0 #7785E6 #E677BC
square
#E6D877 #77E6A0 #7785E6 #E677BC
split-complementary
#E6D877 #77BCE6 #A077E6
monochromatic
#BFAC23 #DCC943 #E6D877 #F0E7AB #F9F6DE

Accessibility & contrast

On white

1.45
#E6D877 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#E6D877 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D877
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D877#FFFFFF#000000##000000
##E6D8771.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D36F
Deuteranopia (green-blind)
#ECD97B
Tritanopia (blue-blind)
#F4CCC1
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e6d877;
/* rgb */ color: rgb(230, 216, 119);
/* oklch */ color: oklch(87.3% 0.120 101.2);
Tailwind
colors: {
  custom: {
    50: '#f0e3a0',
    500: '#e6d877',
    950: '#000000',
  },
}
SCSS
$custom: #e6d877;
$custom-light: #f0e3a0;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d877",
  "rgb": {
    "r": 230,
    "g": 216,
    "b": 119
  },
  "hsl": {
    "h": 52.432,
    "s": 68.944,
    "l": 68.431
  },
  "oklch": {
    "l": 0.87346,
    "c": 0.11959,
    "h": 101.2
  },
  "luminance": 0.67267
}

Semantic roles & 50–950 ramp

primary
#E6D877
secondary
#4453BE
accent
#2CD115
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #E6D877

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

Preview Lab → · Contrast checker → · Palette generator →

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