#D8D188#D8D188

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

Color values

HEX#D8D188
RGBrgb(216, 209, 136)
HSLhsl(55, 51%, 69%)
HSVhsv(55, 37%, 85%)
CMYKcmyk(0%, 3.2%, 37%, 15.3%)
CIE-LABlab(82.90, -8.23, 37.10)
CIE-LCHlch(82.90, 38.00, 102.50°)
OKLaboklab(84.97% -0.0219 0.0912)
OKLCHoklch(84.97% 0.094 103.5)
XYZxyz(55.5641, 61.9788, 32.3239)
Luminance0.6198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D188 #888FD8
analogous
#D8A988 #D8D188 #B7D888
triadic
#D8D188 #88D8D1 #D188D8
tetradic
#D8D188 #88D8A9 #888FD8 #D888B7
square
#D8D188 #88D8A9 #888FD8 #D888B7
split-complementary
#D8D188 #88B7D8 #A988D8
monochromatic
#ADA339 #C9BF5A #D8D188 #E7E3B6 #F6F5E4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D188#FFFFFF#000000##000000
##D8D1881.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)
#DDCC83
Deuteranopia (green-blind)
#E0D08B
Tritanopia (blue-blind)
#E3C8BF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d8d188;
/* rgb */ color: rgb(216, 209, 136);
/* oklch */ color: oklch(85.0% 0.094 103.5);
Tailwind
colors: {
  custom: {
    50: '#e5dfab',
    500: '#d8d188',
    950: '#000000',
  },
}
SCSS
$custom: #d8d188;
$custom-light: #e5dfab;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d188",
  "rgb": {
    "r": 216,
    "g": 209,
    "b": 136
  },
  "hsl": {
    "h": 54.75,
    "s": 50.633,
    "l": 69.02
  },
  "oklch": {
    "l": 0.84973,
    "c": 0.09376,
    "h": 103.5
  },
  "luminance": 0.61977
}

Semantic roles & 50–950 ramp

primary
#D8D188
secondary
#565EAE
accent
#35BE28
background
#FEFEFD
surface
#FCFCF7
border
#D5D5D0
text
#161510
muted
#848481

Preview Lab

Preview with #D8D188

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

Preview Lab → · Contrast checker → · Palette generator →

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