#D9CC67#D9CC67

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

Color values

HEX#D9CC67
RGBrgb(217, 204, 103)
HSLhsl(53, 60%, 63%)
HSVhsv(53, 53%, 85%)
CMYKcmyk(0%, 6%, 52.5%, 14.9%)
CIE-LABlab(81.25, -8.51, 51.33)
CIE-LCHlch(81.25, 52.03, 99.41°)
OKLaboklab(83.54% -0.0257 0.1208)
OKLCHoklch(83.54% 0.123 102)
XYZxyz(52.6579, 58.9186, 21.4280)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC67 #6774D9
analogous
#D99367 #D9CC67 #ADD967
triadic
#D9CC67 #67D9CC #CC67D9
tetradic
#D9CC67 #67D993 #6774D9 #D967AD
square
#D9CC67 #67D993 #6774D9 #D967AD
split-complementary
#D9CC67 #67ADD9 #9367D9
monochromatic
#9E9128 #CDBC36 #D9CC67 #E5DC98 #F1EDC9

Accessibility & contrast

On white

1.64
#D9CC67 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.78
#D9CC67 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC67
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC67#FFFFFF#000000##000000
##D9CC671.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC65E
Deuteranopia (green-blind)
#E0CC6C
Tritanopia (blue-blind)
#E7C0B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cc67;
/* rgb */ color: rgb(217, 204, 103);
/* oklch */ color: oklch(83.5% 0.123 102.0);
Tailwind
colors: {
  custom: {
    50: '#e7db95',
    500: '#d9cc67',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc67;
$custom-light: #e7db95;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc67",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 103
  },
  "hsl": {
    "h": 53.158,
    "s": 60,
    "l": 62.745
  },
  "oklch": {
    "l": 0.8354,
    "c": 0.12349,
    "h": 102
  },
  "luminance": 0.58917
}

Semantic roles & 50–950 ramp

primary
#D9CC67
secondary
#424DA2
accent
#31C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D9CC67

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

Preview Lab → · Contrast checker → · Palette generator →

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