#D2D889#D2D889

#D2D889 is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.0% C 0.101 H 112.1°. Best body text is #000000 at 13.92:1 contrast (WCAG AA passes).

Color values

HEX#D2D889
RGBrgb(210, 216, 137)
HSLhsl(65, 50%, 69%)
HSVhsv(65, 37%, 85%)
CMYKcmyk(2.8%, 0%, 36.6%, 15.3%)
CIE-LABlab(84.29, -13.98, 38.29)
CIE-LCHlch(84.29, 40.76, 110.06°)
OKLaboklab(85.96% -0.0381 0.094)
OKLCHoklch(85.96% 0.101 112.1)
XYZxyz(55.6500, 64.6203, 33.2034)
Luminance0.6462 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D889 #8F89D8
analogous
#D8B789 #D2D889 #ABD889
triadic
#D2D889 #89D2D8 #D889D2
tetradic
#D2D889 #89D8B7 #8F89D8 #D889AB
square
#D2D889 #89D8B7 #8F89D8 #D889AB
split-complementary
#D2D889 #89ABD8 #B789D8
monochromatic
#A5AD39 #C0C95B #D2D889 #E4E7B7 #F5F6E5

Accessibility & contrast

On white

1.51
#D2D889 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.92
#D2D889 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D889
13.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D889#FFFFFF#000000##000000
##D2D8891.001.5113.9213.92
#FFFFFF1.511.0021.0021.00
#00000013.9221.001.001.00
##00000013.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D183
Deuteranopia (green-blind)
#E3D38C
Tritanopia (blue-blind)
#DBCFC4
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d2d889;
/* rgb */ color: rgb(210, 216, 137);
/* oklch */ color: oklch(86.0% 0.101 112.1);
Tailwind
colors: {
  custom: {
    50: '#e1e4ac',
    500: '#d2d889',
    950: '#000000',
  },
}
SCSS
$custom: #d2d889;
$custom-light: #e1e4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d889",
  "rgb": {
    "r": 210,
    "g": 216,
    "b": 137
  },
  "hsl": {
    "h": 64.557,
    "s": 50.318,
    "l": 69.216
  },
  "oklch": {
    "l": 0.85963,
    "c": 0.10141,
    "h": 112.1
  },
  "luminance": 0.6462
}

Semantic roles & 50–950 ramp

primary
#D2D889
secondary
#5D57AE
accent
#28BE33
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D889

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

Preview Lab → · Contrast checker → · Palette generator →

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