#D8CD6B#D8CD6B

#D8CD6B is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.121 H 102.9°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D8CD6B
RGBrgb(216, 205, 107)
HSLhsl(54, 58%, 63%)
HSVhsv(54, 50%, 85%)
CMYKcmyk(0%, 5.1%, 50.5%, 15.3%)
CIE-LABlab(81.47, -9.09, 49.68)
CIE-LCHlch(81.47, 50.50, 100.37°)
OKLaboklab(83.71% -0.0269 0.1176)
OKLCHoklch(83.71% 0.121 102.9)
XYZxyz(52.8056, 59.3248, 22.5763)
Luminance0.5932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD6B #6B76D8
analogous
#D8966B #D8CD6B #ACD86B
triadic
#D8CD6B #6BD8CD #CD6BD8
tetradic
#D8CD6B #6BD896 #6B76D8 #D86BAC
square
#D8CD6B #6BD896 #6B76D8 #D86BAC
split-complementary
#D8CD6B #6BACD8 #966BD8
monochromatic
#9F932A #CBBD3B #D8CD6B #E5DD9B #F2EECC

Accessibility & contrast

On white

1.63
#D8CD6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#D8CD6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD6B
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD6B#FFFFFF#000000##000000
##D8CD6B1.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC762
Deuteranopia (green-blind)
#E0CD70
Tritanopia (blue-blind)
#E6C1B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd6b;
/* rgb */ color: rgb(216, 205, 107);
/* oklch */ color: oklch(83.7% 0.121 102.9);
Tailwind
colors: {
  custom: {
    50: '#e6dc98',
    500: '#d8cd6b',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd6b;
$custom-light: #e6dc98;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd6b",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 107
  },
  "hsl": {
    "h": 53.945,
    "s": 58.289,
    "l": 63.333
  },
  "oklch": {
    "l": 0.83711,
    "c": 0.12059,
    "h": 102.9
  },
  "luminance": 0.59323
}

Semantic roles & 50–950 ramp

primary
#D8CD6B
secondary
#444EA3
accent
#30C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8CD6B

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

Preview Lab → · Contrast checker → · Palette generator →

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