#D2D989#D2D989

#D2D989 is a very light, moderate yellow. Relative luminance 0.651; OKLCH L 86.2% C 0.103 H 112.6°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#D2D989
RGBrgb(210, 217, 137)
HSLhsl(65, 51%, 69%)
HSVhsv(65, 37%, 85%)
CMYKcmyk(3.2%, 0%, 36.9%, 14.9%)
CIE-LABlab(84.55, -14.48, 38.63)
CIE-LCHlch(84.55, 41.26, 110.55°)
OKLaboklab(86.18% -0.0395 0.0948)
OKLCHoklch(86.18% 0.103 112.6)
XYZxyz(55.9070, 65.1342, 33.2891)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D989 #9089D9
analogous
#D9B889 #D2D989 #AAD989
triadic
#D2D989 #89D2D9 #D989D2
tetradic
#D2D989 #89D9B8 #9089D9 #D989AA
square
#D2D989 #89D9B8 #9089D9 #D989AA
split-complementary
#D2D989 #89AAD9 #B889D9
monochromatic
#A5AF38 #C0CA5B #D2D989 #E4E8B7 #F5F7E6

Accessibility & contrast

On white

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

On black

14.03
#D2D989 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D989
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D989#FFFFFF#000000##000000
##D2D9891.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D283
Deuteranopia (green-blind)
#E4D48D
Tritanopia (blue-blind)
#DBD0C5
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2d989;
/* rgb */ color: rgb(210, 217, 137);
/* oklch */ color: oklch(86.2% 0.103 112.6);
Tailwind
colors: {
  custom: {
    50: '#e1e4ac',
    500: '#d2d989',
    950: '#000000',
  },
}
SCSS
$custom: #d2d989;
$custom-light: #e1e4ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d989",
  "rgb": {
    "r": 210,
    "g": 217,
    "b": 137
  },
  "hsl": {
    "h": 65.25,
    "s": 51.282,
    "l": 69.412
  },
  "oklch": {
    "l": 0.86175,
    "c": 0.10267,
    "h": 112.6
  },
  "luminance": 0.65133
}

Semantic roles & 50–950 ramp

primary
#D2D989
secondary
#5E57B0
accent
#27BF34
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#151510
muted
#848481

Preview Lab

Preview with #D2D989

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

Preview Lab → · Contrast checker → · Palette generator →

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