#D9CC41#D9CC41

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

Color values

HEX#D9CC41
RGBrgb(217, 204, 65)
HSLhsl(55, 67%, 55%)
HSVhsv(55, 70%, 85%)
CMYKcmyk(0%, 6%, 70%, 14.9%)
CIE-LABlab(80.92, -11.01, 67.22)
CIE-LCHlch(80.92, 68.11, 99.30°)
OKLaboklab(83.17% -0.037 0.1494)
OKLCHoklch(83.17% 0.154 103.9)
XYZxyz(51.1644, 58.3211, 13.5620)
Luminance0.5832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC41 #414ED9
analogous
#D98041 #D9CC41 #9AD941
triadic
#D9CC41 #41D9CC #CC41D9
tetradic
#D9CC41 #41D980 #414ED9 #D9419A
square
#D9CC41 #41D980 #414ED9 #D9419A
split-complementary
#D9CC41 #419AD9 #8041D9
monochromatic
#857C1B #B8AB25 #D9CC41 #E3DA74 #EDE7A7

Accessibility & contrast

On white

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

On black

12.66
#D9CC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC41
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC41#FFFFFF#000000##000000
##D9CC411.001.6612.6612.66
#FFFFFF1.661.0021.0021.00
#00000012.6621.001.001.00
##00000012.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52B
Deuteranopia (green-blind)
#E2CC4A
Tritanopia (blue-blind)
#E9BEB0
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc41;
/* rgb */ color: rgb(217, 204, 65);
/* oklch */ color: oklch(83.2% 0.154 103.9);
Tailwind
colors: {
  custom: {
    50: '#e8db7e',
    500: '#d9cc41',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc41;
$custom-light: #e8db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc41",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 54.868,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83172,
    "c": 0.15394,
    "h": 103.9
  },
  "luminance": 0.58319
}

Semantic roles & 50–950 ramp

primary
#D9CC41
secondary
#333A8B
accent
#4DEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D9CC41

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

Preview Lab → · Contrast checker → · Palette generator →

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