#D8CB66#D8CB66

#D8CB66 is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.123 H 102.0°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D8CB66
RGBrgb(216, 203, 102)
HSLhsl(53, 59%, 62%)
HSVhsv(53, 53%, 85%)
CMYKcmyk(0%, 6%, 52.8%, 15.3%)
CIE-LABlab(80.89, -8.49, 51.37)
CIE-LCHlch(80.89, 52.06, 99.39°)
OKLaboklab(83.23% -0.0257 0.1208)
OKLCHoklch(83.23% 0.123 102)
XYZxyz(52.0747, 58.2719, 21.0723)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB66 #6673D8
analogous
#D89266 #D8CB66 #ACD866
triadic
#D8CB66 #66D8CB #CB66D8
tetradic
#D8CB66 #66D892 #6673D8 #D866AC
square
#D8CB66 #66D892 #6673D8 #D866AC
split-complementary
#D8CB66 #66ACD8 #9266D8
monochromatic
#9C8F28 #CCBA35 #D8CB66 #E4DC97 #F1ECC8

Accessibility & contrast

On white

1.66
#D8CB66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#D8CB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB66
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB66#FFFFFF#000000##000000
##D8CB661.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC55D
Deuteranopia (green-blind)
#DFCB6B
Tritanopia (blue-blind)
#E6BFB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cb66;
/* rgb */ color: rgb(216, 203, 102);
/* oklch */ color: oklch(83.2% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#e6da94',
    500: '#d8cb66',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb66;
$custom-light: #e6da94;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb66",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 102
  },
  "hsl": {
    "h": 53.158,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83233,
    "c": 0.12348,
    "h": 102
  },
  "luminance": 0.5827
}

Semantic roles & 50–950 ramp

primary
#D8CB66
secondary
#424DA0
accent
#32C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8CB66

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

Preview Lab → · Contrast checker → · Palette generator →

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