#E6D87D#E6D87D

#E6D87D is a very light, moderate yellow. Relative luminance 0.674; OKLCH L 87.4% C 0.113 H 100.7°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#E6D87D
RGBrgb(230, 216, 125)
HSLhsl(52, 68%, 70%)
HSVhsv(52, 46%, 90%)
CMYKcmyk(0%, 6.1%, 45.7%, 9.8%)
CIE-LABlab(85.71, -7.39, 46.39)
CIE-LCHlch(85.71, 46.97, 99.05°)
OKLaboklab(87.43% -0.021 0.1115)
OKLCHoklch(87.43% 0.113 100.7)
XYZxyz(60.8922, 67.4174, 29.2033)
Luminance0.6742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D87D #7D8BE6
analogous
#E6A47D #E6D87D #C0E67D
triadic
#E6D87D #7DE6D8 #D87DE6
tetradic
#E6D87D #7DE6A4 #7D8BE6 #E67DC0
square
#E6D87D #7DE6A4 #7D8BE6 #E67DC0
split-complementary
#E6D87D #7DC0E6 #A47DE6
monochromatic
#C3AE26 #DCC94A #E6D87D #F0E7B0 #FAF7E4

Accessibility & contrast

On white

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

On black

14.48
#E6D87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D87D
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D87D#FFFFFF#000000##000000
##E6D87D1.001.4514.4814.48
#FFFFFF1.451.0021.0021.00
#00000014.4821.001.001.00
##00000014.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D376
Deuteranopia (green-blind)
#ECD981
Tritanopia (blue-blind)
#F4CDC2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e6d87d;
/* rgb */ color: rgb(230, 216, 125);
/* oklch */ color: oklch(87.4% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#f0e3a4',
    500: '#e6d87d',
    950: '#000000',
  },
}
SCSS
$custom: #e6d87d;
$custom-light: #f0e3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d87d",
  "rgb": {
    "r": 230,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 52,
    "s": 67.742,
    "l": 69.608
  },
  "oklch": {
    "l": 0.8743,
    "c": 0.11345,
    "h": 100.7
  },
  "luminance": 0.67415
}

Semantic roles & 50–950 ramp

primary
#E6D87D
secondary
#4959BE
accent
#2FD016
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E6D87D

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

Preview Lab → · Contrast checker → · Palette generator →

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