#D9CB66#D9CB66

#D9CB66 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.123 H 101.5°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D9CB66
RGBrgb(217, 203, 102)
HSLhsl(53, 60%, 63%)
HSVhsv(53, 53%, 85%)
CMYKcmyk(0%, 6.5%, 53%, 14.9%)
CIE-LABlab(80.97, -8.08, 51.49)
CIE-LCHlch(80.97, 52.12, 98.92°)
OKLaboklab(83.32% -0.0246 0.121)
OKLCHoklch(83.32% 0.123 101.5)
XYZxyz(52.3711, 58.4248, 21.0862)
Luminance0.5842 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CB66 #6674D9
analogous
#D99266 #D9CB66 #ADD966
triadic
#D9CB66 #66D9CB #CB66D9
tetradic
#D9CB66 #66D992 #6674D9 #D966AD
square
#D9CB66 #66D992 #6674D9 #D966AD
split-complementary
#D9CB66 #66ADD9 #9266D9
monochromatic
#9D8F27 #CDBA35 #D9CB66 #E5DC97 #F1ECC8

Accessibility & contrast

On white

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

On black

12.68
#D9CB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CB66
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CB66#FFFFFF#000000##000000
##D9CB661.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC65D
Deuteranopia (green-blind)
#DFCC6B
Tritanopia (blue-blind)
#E7BFB4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cb66;
/* rgb */ color: rgb(217, 203, 102);
/* oklch */ color: oklch(83.3% 0.123 101.5);
Tailwind
colors: {
  custom: {
    50: '#e7da94',
    500: '#d9cb66',
    950: '#000000',
  },
}
SCSS
$custom: #d9cb66;
$custom-light: #e7da94;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cb66",
  "rgb": {
    "r": 217,
    "g": 203,
    "b": 102
  },
  "hsl": {
    "h": 52.696,
    "s": 60.209,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8332,
    "c": 0.12349,
    "h": 101.5
  },
  "luminance": 0.58423
}

Semantic roles & 50–950 ramp

primary
#D9CB66
secondary
#424DA1
accent
#32C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D9CB66

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

Preview Lab → · Contrast checker → · Palette generator →

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