#D6D87D#D6D87D

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

Color values

HEX#D6D87D
RGBrgb(214, 216, 125)
HSLhsl(61, 54%, 67%)
HSVhsv(61, 42%, 85%)
CMYKcmyk(0.9%, 0%, 42.1%, 15.3%)
CIE-LABlab(84.43, -13.73, 44.51)
CIE-LCHlch(84.43, 46.58, 107.15°)
OKLaboklab(86.1% -0.0384 0.1075)
OKLCHoklch(86.1% 0.114 109.7)
XYZxyz(55.9900, 64.8897, 28.9736)
Luminance0.6489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6D87D #7F7DD8
analogous
#D8AD7D #D6D87D #A9D87D
triadic
#D6D87D #7DD6D8 #D87DD6
tetradic
#D6D87D #7DD8AD #7F7DD8 #D87DA9
square
#D6D87D #7DD8AD #7F7DD8 #D87DA9
split-complementary
#D6D87D #7DA9D8 #AD7DD8
monochromatic
#A6A832 #C7CA4E #D6D87D #E5E6AC #F4F4DB

Accessibility & contrast

On white

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

On black

13.98
#D6D87D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6D87D
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6D87D#FFFFFF#000000##000000
##D6D87D1.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6d87d;
/* rgb */ color: rgb(214, 216, 125);
/* oklch */ color: oklch(86.1% 0.114 109.7);
Tailwind
colors: {
  custom: {
    50: '#e4e3a4',
    500: '#d6d87d',
    950: '#000000',
  },
}
SCSS
$custom: #d6d87d;
$custom-light: #e4e3a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d6d87d",
  "rgb": {
    "r": 214,
    "g": 216,
    "b": 125
  },
  "hsl": {
    "h": 61.319,
    "s": 53.846,
    "l": 66.863
  },
  "oklch": {
    "l": 0.86095,
    "c": 0.11412,
    "h": 109.7
  },
  "luminance": 0.64889
}

Semantic roles & 50–950 ramp

primary
#D6D87D
secondary
#504EAC
accent
#24C128
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D6D87D

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

Preview Lab → · Contrast checker → · Palette generator →

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