#D8D189#D8D189

#D8D189 is a very light, moderate yellow. Relative luminance 0.620; OKLCH L 85.0% C 0.093 H 103.4°. Best body text is #000000 at 13.40:1 contrast (WCAG AA passes).

Color values

HEX#D8D189
RGBrgb(216, 209, 137)
HSLhsl(55, 50%, 69%)
HSVhsv(55, 37%, 85%)
CMYKcmyk(0%, 3.2%, 36.6%, 15.3%)
CIE-LABlab(82.92, -8.11, 36.61)
CIE-LCHlch(82.92, 37.50, 102.49°)
OKLaboklab(84.99% -0.0215 0.0901)
OKLCHoklch(84.99% 0.093 103.4)
XYZxyz(55.6355, 62.0073, 32.6999)
Luminance0.6201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D189 #8990D8
analogous
#D8AA89 #D8D189 #B8D889
triadic
#D8D189 #89D8D1 #D189D8
tetradic
#D8D189 #89D8AA #8990D8 #D889B8
square
#D8D189 #89D8AA #8990D8 #D889B8
split-complementary
#D8D189 #89B8D8 #AA89D8
monochromatic
#ADA339 #C9BF5B #D8D189 #E7E3B7 #F6F5E5

Accessibility & contrast

On white

1.57
#D8D189 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.40
#D8D189 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D189
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D189#FFFFFF#000000##000000
##D8D1891.001.5713.4013.40
#FFFFFF1.571.0021.0021.00
#00000013.4021.001.001.00
##00000013.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDCC84
Deuteranopia (green-blind)
#E0D08C
Tritanopia (blue-blind)
#E3C8BF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d189;
/* rgb */ color: rgb(216, 209, 137);
/* oklch */ color: oklch(85.0% 0.093 103.4);
Tailwind
colors: {
  custom: {
    50: '#e5dfac',
    500: '#d8d189',
    950: '#000000',
  },
}
SCSS
$custom: #d8d189;
$custom-light: #e5dfac;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d189",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 137
  },
  "hsl": {
    "h": 54.684,
    "s": 50.318,
    "l": 69.216
  },
  "oklch": {
    "l": 0.8499,
    "c": 0.0926,
    "h": 103.4
  },
  "luminance": 0.62006
}

Semantic roles & 50–950 ramp

primary
#D8D189
secondary
#575FAE
accent
#35BE28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D189

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

Preview Lab → · Contrast checker → · Palette generator →

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