#D9CC4D#D9CC4D

#D9CC4D is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.146 H 103.5°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D9CC4D
RGBrgb(217, 204, 77)
HSLhsl(54, 65%, 58%)
HSVhsv(54, 65%, 85%)
CMYKcmyk(0%, 6%, 64.5%, 14.9%)
CIE-LABlab(81.00, -10.36, 62.61)
CIE-LCHlch(81.00, 63.46, 99.39°)
OKLaboklab(83.27% -0.0339 0.1417)
OKLCHoklch(83.27% 0.146 103.5)
XYZxyz(51.5497, 58.4753, 15.5912)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC4D #4D5AD9
analogous
#D9864D #D9CC4D #A0D94D
triadic
#D9CC4D #4DD9CC #CC4DD9
tetradic
#D9CC4D #4DD986 #4D5AD9 #D94DA0
square
#D9CC4D #4DD986 #4D5AD9 #D94DA0
split-complementary
#D9CC4D #4DA0D9 #864DD9
monochromatic
#8D831E #C0B229 #D9CC4D #E4DA7F #EFE9B2

Accessibility & contrast

On white

1.65
#D9CC4D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#D9CC4D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC4D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC4D#FFFFFF#000000##000000
##D9CC4D1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC63D
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#E9BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc4d;
/* rgb */ color: rgb(217, 204, 77);
/* oklch */ color: oklch(83.3% 0.146 103.5);
Tailwind
colors: {
  custom: {
    50: '#e8db85',
    500: '#d9cc4d',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc4d;
$custom-light: #e8db85;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc4d",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 77
  },
  "hsl": {
    "h": 54.429,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83267,
    "c": 0.14566,
    "h": 103.5
  },
  "luminance": 0.58473
}

Semantic roles & 50–950 ramp

primary
#D9CC4D
secondary
#374093
accent
#50E840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9CC4D

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

Preview Lab → · Contrast checker → · Palette generator →

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