#D9CC3D#D9CC3D

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

Color values

HEX#D9CC3D
RGBrgb(217, 204, 61)
HSLhsl(55, 67%, 55%)
HSVhsv(55, 72%, 85%)
CMYKcmyk(0%, 6%, 71.9%, 14.9%)
CIE-LABlab(80.89, -11.20, 68.64)
CIE-LCHlch(80.89, 69.55, 99.27°)
OKLaboklab(83.14% -0.0379 0.1517)
OKLCHoklch(83.14% 0.156 104)
XYZxyz(51.0526, 58.2764, 12.9733)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC3D #3D4AD9
analogous
#D97E3D #D9CC3D #98D93D
triadic
#D9CC3D #3DD9CC #CC3DD9
tetradic
#D9CC3D #3DD97E #3D4AD9 #D93D98
square
#D9CC3D #3DD97E #3D4AD9 #D93D98
split-complementary
#D9CC3D #3D98D9 #7E3DD9
monochromatic
#827919 #B5A924 #D9CC3D #E3D970 #EDE7A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CC3D#FFFFFF#000000##000000
##D9CC3D1.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)
#DEC524
Deuteranopia (green-blind)
#E2CC47
Tritanopia (blue-blind)
#E9BEB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc3d;
/* rgb */ color: rgb(217, 204, 61);
/* oklch */ color: oklch(83.1% 0.156 104.0);
Tailwind
colors: {
  custom: {
    50: '#e9db7c',
    500: '#d9cc3d',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc3d;
$custom-light: #e9db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc3d",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 61
  },
  "hsl": {
    "h": 55,
    "s": 67.241,
    "l": 54.51
  },
  "oklch": {
    "l": 0.83144,
    "c": 0.1564,
    "h": 104
  },
  "luminance": 0.58274
}

Semantic roles & 50–950 ramp

primary
#D9CC3D
secondary
#313989
accent
#4CEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9CC3D

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

Preview Lab → · Contrast checker → · Palette generator →

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