#E6D87F#E6D87F

#E6D87F is a very light, moderate yellow. Relative luminance 0.675; OKLCH L 87.5% C 0.111 H 100.5°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#E6D87F
RGBrgb(230, 216, 127)
HSLhsl(52, 67%, 70%)
HSVhsv(52, 45%, 90%)
CMYKcmyk(0%, 6.1%, 44.8%, 9.8%)
CIE-LABlab(85.74, -7.20, 45.44)
CIE-LCHlch(85.74, 46.01, 99.00°)
OKLaboklab(87.46% -0.0203 0.1095)
OKLCHoklch(87.46% 0.111 100.5)
XYZxyz(61.0213, 67.4690, 29.8830)
Luminance0.6747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E6D87F #7F8DE6
analogous
#E6A57F #E6D87F #C0E67F
triadic
#E6D87F #7FE6D8 #D87FE6
tetradic
#E6D87F #7FE6A5 #7F8DE6 #E67FC0
square
#E6D87F #7FE6A5 #7F8DE6 #E67FC0
split-complementary
#E6D87F #7FC0E6 #A57FE6
monochromatic
#C4AF26 #DCC84C #E6D87F #F0E8B2 #FAF7E5

Accessibility & contrast

On white

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

On black

14.49
#E6D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E6D87F
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E6D87F#FFFFFF#000000##000000
##E6D87F1.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D378
Deuteranopia (green-blind)
#EBD983
Tritanopia (blue-blind)
#F4CDC3
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e6d87f;
/* rgb */ color: rgb(230, 216, 127);
/* oklch */ color: oklch(87.5% 0.111 100.5);
Tailwind
colors: {
  custom: {
    50: '#f0e3a5',
    500: '#e6d87f',
    950: '#000000',
  },
}
SCSS
$custom: #e6d87f;
$custom-light: #f0e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e6d87f",
  "rgb": {
    "r": 230,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 51.845,
    "s": 67.32,
    "l": 70
  },
  "oklch": {
    "l": 0.87459,
    "c": 0.11136,
    "h": 100.5
  },
  "luminance": 0.67467
}

Semantic roles & 50–950 ramp

primary
#E6D87F
secondary
#4B5BBE
accent
#2FCF16
background
#FFFEFC
surface
#FEFCF6
border
#D6D5D0
text
#17150F
muted
#858480

Preview Lab

Preview with #E6D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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