#D8CA66#D8CA66

#D8CA66 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.123 H 101.4°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D8CA66
RGBrgb(216, 202, 102)
HSLhsl(53, 59%, 62%)
HSVhsv(53, 53%, 85%)
CMYKcmyk(0%, 6.5%, 52.8%, 15.3%)
CIE-LABlab(80.63, -7.98, 51.06)
CIE-LCHlch(80.63, 51.68, 98.89°)
OKLaboklab(83.03% -0.0243 0.1201)
OKLCHoklch(83.03% 0.123 101.4)
XYZxyz(51.8393, 57.8011, 20.9939)
Luminance0.5780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA66 #6674D8
analogous
#D89166 #D8CA66 #ADD866
triadic
#D8CA66 #66D8CA #CA66D8
tetradic
#D8CA66 #66D891 #6674D8 #D866AD
square
#D8CA66 #66D891 #6674D8 #D866AD
split-complementary
#D8CA66 #66ADD8 #9166D8
monochromatic
#9C8E28 #CCB935 #D8CA66 #E4DB97 #F1ECC8

Accessibility & contrast

On white

1.67
#D8CA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.56
#D8CA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA66
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA66#FFFFFF#000000##000000
##D8CA661.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#DECB6B
Tritanopia (blue-blind)
#E6BEB3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca66;
/* rgb */ color: rgb(216, 202, 102);
/* oklch */ color: oklch(83.0% 0.123 101.4);
Tailwind
colors: {
  custom: {
    50: '#e6d994',
    500: '#d8ca66',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca66;
$custom-light: #e6d994;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca66",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 52.632,
    "s": 59.375,
    "l": 62.353
  },
  "oklch": {
    "l": 0.83025,
    "c": 0.12253,
    "h": 101.4
  },
  "luminance": 0.57799
}

Semantic roles & 50–950 ramp

primary
#D8CA66
secondary
#424EA0
accent
#33C71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8CA66

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

Preview Lab → · Contrast checker → · Palette generator →

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