#D2DF87#D2DF87

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

Color values

HEX#D2DF87
RGBrgb(210, 223, 135)
HSLhsl(69, 58%, 70%)
HSVhsv(69, 39%, 87%)
CMYKcmyk(5.8%, 0%, 39.5%, 12.5%)
CIE-LABlab(86.12, -17.69, 41.64)
CIE-LCHlch(86.12, 45.24, 113.02°)
OKLaboklab(87.41% -0.0488 0.1016)
OKLCHoklch(87.41% 0.113 115.6)
XYZxyz(57.3395, 68.2268, 33.0654)
Luminance0.6823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DF87 #9487DF
analogous
#DFC087 #D2DF87 #A6DF87
triadic
#D2DF87 #87D2DF #DF87D2
tetradic
#D2DF87 #87DFC0 #9487DF #DF87A6
square
#D2DF87 #87DFC0 #9487DF #DF87A6
split-complementary
#D2DF87 #87A6DF #C087DF
monochromatic
#A6BA32 #C0D257 #D2DF87 #E4ECB7 #F6F9E7

Accessibility & contrast

On white

1.43
#D2DF87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.65
#D2DF87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DF87
14.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DF87#FFFFFF#000000##000000
##D2DF871.001.4314.6514.65
#FFFFFF1.431.0021.0021.00
#00000014.6521.001.001.00
##00000014.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD780
Deuteranopia (green-blind)
#E9D88B
Tritanopia (blue-blind)
#DBD6C9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #d2df87;
/* rgb */ color: rgb(210, 223, 135);
/* oklch */ color: oklch(87.4% 0.113 115.6);
Tailwind
colors: {
  custom: {
    50: '#e1e9ab',
    500: '#d2df87',
    950: '#000000',
  },
}
SCSS
$custom: #d2df87;
$custom-light: #e1e9ab;
$custom-dark: #000000;
JSON
{
  "hex": "#d2df87",
  "rgb": {
    "r": 210,
    "g": 223,
    "b": 135
  },
  "hsl": {
    "h": 68.864,
    "s": 57.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.87414,
    "c": 0.11265,
    "h": 115.6
  },
  "luminance": 0.68226
}

Semantic roles & 50–950 ramp

primary
#D2DF87
secondary
#6254B7
accent
#20C538
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151610
muted
#848481

Preview Lab

Preview with #D2DF87

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

Preview Lab → · Contrast checker → · Palette generator →

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