#D6D87F#D6D87F

#D6D87F is a very light, moderate yellow. Relative luminance 0.649; OKLCH L 86.1% C 0.112 H 109.7°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#D6D87F
RGBrgb(214, 216, 127)
HSLhsl(61, 53%, 67%)
HSVhsv(61, 41%, 85%)
CMYKcmyk(0.9%, 0%, 41.2%, 15.3%)
CIE-LABlab(84.45, -13.53, 43.56)
CIE-LCHlch(84.45, 45.61, 107.25°)
OKLaboklab(86.13% -0.0377 0.1054)
OKLCHoklch(86.13% 0.112 109.7)
XYZxyz(56.1190, 64.9413, 29.6532)
Luminance0.6494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D87F #817FD8
analogous
#D8AD7F #D6D87F #AAD87F
triadic
#D6D87F #7FD6D8 #D87FD6
tetradic
#D6D87F #7FD8AD #817FD8 #D87FAA
square
#D6D87F #7FD8AD #817FD8 #D87FAA
split-complementary
#D6D87F #7FAAD8 #AD7FD8
monochromatic
#A6A934 #C7CA50 #D6D87F #E5E6AE #F4F5DD

Accessibility & contrast

On white

1.50
#D6D87F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.99
#D6D87F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D87F
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D87F#FFFFFF#000000##000000
##D6D87F1.001.5013.9913.99
#FFFFFF1.501.0021.0021.00
#00000013.9921.001.001.00
##00000013.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D178
Deuteranopia (green-blind)
#E6D483
Tritanopia (blue-blind)
#E1CEC2
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d6d87f;
/* rgb */ color: rgb(214, 216, 127);
/* oklch */ color: oklch(86.1% 0.112 109.7);
Tailwind
colors: {
  custom: {
    50: '#e4e3a5',
    500: '#d6d87f',
    950: '#000000',
  },
}
SCSS
$custom: #d6d87f;
$custom-light: #e4e3a5;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d87f",
  "rgb": {
    "r": 214,
    "g": 216,
    "b": 127
  },
  "hsl": {
    "h": 61.348,
    "s": 53.293,
    "l": 67.255
  },
  "oklch": {
    "l": 0.86125,
    "c": 0.11196,
    "h": 109.7
  },
  "luminance": 0.6494
}

Semantic roles & 50–950 ramp

primary
#D6D87F
secondary
#514FAC
accent
#25C128
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D6D87F

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

Preview Lab → · Contrast checker → · Palette generator →

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