#D9CC5E#D9CC5E

#D9CC5E is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.132 H 102.6°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D9CC5E
RGBrgb(217, 204, 94)
HSLhsl(54, 62%, 61%)
HSVhsv(54, 57%, 85%)
CMYKcmyk(0%, 6%, 56.7%, 14.9%)
CIE-LABlab(81.15, -9.22, 55.40)
CIE-LCHlch(81.15, 56.16, 99.45°)
OKLaboklab(83.44% -0.0288 0.1286)
OKLCHoklch(83.44% 0.132 102.6)
XYZxyz(52.2303, 58.7475, 19.1756)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC5E #5E6BD9
analogous
#D98E5E #D9CC5E #A8D95E
triadic
#D9CC5E #5ED9CC #CC5ED9
tetradic
#D9CC5E #5ED98E #5E6BD9 #D95EA8
square
#D9CC5E #5ED98E #5E6BD9 #D95EA8
split-complementary
#D9CC5E #5EA8D9 #8E5ED9
monochromatic
#998C24 #CABA30 #D9CC5E #E5DC90 #F0EBC1

Accessibility & contrast

On white

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

On black

12.75
#D9CC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC5E
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC5E#FFFFFF#000000##000000
##D9CC5E1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC653
Deuteranopia (green-blind)
#E0CC64
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cc5e;
/* rgb */ color: rgb(217, 204, 94);
/* oklch */ color: oklch(83.4% 0.132 102.6);
Tailwind
colors: {
  custom: {
    50: '#e7db8f',
    500: '#d9cc5e',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc5e;
$custom-light: #e7db8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc5e",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 94
  },
  "hsl": {
    "h": 53.659,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83435,
    "c": 0.13178,
    "h": 102.6
  },
  "luminance": 0.58746
}

Semantic roles & 50–950 ramp

primary
#D9CC5E
secondary
#3E489D
accent
#2ECA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9CC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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