#D8D489#D8D489

#D8D489 is a very light, moderate yellow. Relative luminance 0.635; OKLCH L 85.6% C 0.096 H 105.6°. Best body text is #000000 at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#D8D489
RGBrgb(216, 212, 137)
HSLhsl(57, 50%, 69%)
HSVhsv(57, 37%, 85%)
CMYKcmyk(0%, 1.9%, 36.6%, 15.3%)
CIE-LABlab(83.70, -9.64, 37.63)
CIE-LCHlch(83.70, 38.84, 104.37°)
OKLaboklab(85.61% -0.0259 0.0924)
OKLCHoklch(85.61% 0.096 105.6)
XYZxyz(56.3785, 63.4933, 32.9476)
Luminance0.6349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D489 #898DD8
analogous
#D8AD89 #D8D489 #B5D889
triadic
#D8D489 #89D8D4 #D489D8
tetradic
#D8D489 #89D8AD #898DD8 #D889B5
square
#D8D489 #89D8AD #898DD8 #D889B5
split-complementary
#D8D489 #89B5D8 #AD89D8
monochromatic
#ADA739 #C9C35B #D8D489 #E7E5B7 #F6F6E5

Accessibility & contrast

On white

1.53
#D8D489 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.70
#D8D489 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D489
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D489#FFFFFF#000000##000000
##D8D4891.001.5313.7013.70
#FFFFFF1.531.0021.0021.00
#00000013.7021.001.001.00
##00000013.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CF83
Deuteranopia (green-blind)
#E2D28C
Tritanopia (blue-blind)
#E3CBC1
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d8d489;
/* rgb */ color: rgb(216, 212, 137);
/* oklch */ color: oklch(85.6% 0.096 105.6);
Tailwind
colors: {
  custom: {
    50: '#e5e1ac',
    500: '#d8d489',
    950: '#000000',
  },
}
SCSS
$custom: #d8d489;
$custom-light: #e5e1ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d489",
  "rgb": {
    "r": 216,
    "g": 212,
    "b": 137
  },
  "hsl": {
    "h": 56.962,
    "s": 50.318,
    "l": 69.216
  },
  "oklch": {
    "l": 0.85612,
    "c": 0.09597,
    "h": 105.6
  },
  "luminance": 0.63492
}

Semantic roles & 50–950 ramp

primary
#D8D489
secondary
#575BAE
accent
#2FBE28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D489

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

Preview Lab → · Contrast checker → · Palette generator →

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