#D9CC4C#D9CC4C

#D9CC4C 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#D9CC4C
RGBrgb(217, 204, 76)
HSLhsl(54, 65%, 57%)
HSVhsv(54, 65%, 85%)
CMYKcmyk(0%, 6%, 65%, 14.9%)
CIE-LABlab(80.99, -10.42, 63.01)
CIE-LCHlch(80.99, 63.87, 99.39°)
OKLaboklab(83.26% -0.0342 0.1424)
OKLCHoklch(83.26% 0.146 103.5)
XYZxyz(51.5147, 58.4612, 15.4067)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC4C #4C59D9
analogous
#D9854C #D9CC4C #A0D94C
triadic
#D9CC4C #4CD9CC #CC4CD9
tetradic
#D9CC4C #4CD985 #4C59D9 #D94CA0
square
#D9CC4C #4CD985 #4C59D9 #D94CA0
split-complementary
#D9CC4C #4CA0D9 #854CD9
monochromatic
#8D831E #BFB129 #D9CC4C #E4DA7E #EEE9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CC4C#FFFFFF#000000##000000
##D9CC4C1.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)
#DDC53B
Deuteranopia (green-blind)
#E2CC54
Tritanopia (blue-blind)
#E9BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc4c;
/* rgb */ color: rgb(217, 204, 76);
/* oklch */ color: oklch(83.3% 0.146 103.5);
Tailwind
colors: {
  custom: {
    50: '#e8db84',
    500: '#d9cc4c',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc4c;
$custom-light: #e8db84;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc4c",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 76
  },
  "hsl": {
    "h": 54.468,
    "s": 64.977,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83258,
    "c": 0.1464,
    "h": 103.5
  },
  "luminance": 0.58459
}

Semantic roles & 50–950 ramp

primary
#D9CC4C
secondary
#373F92
accent
#4FE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9CC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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