#D9CC59#D9CC59

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

Color values

HEX#D9CC59
RGBrgb(217, 204, 89)
HSLhsl(54, 63%, 60%)
HSVhsv(54, 59%, 85%)
CMYKcmyk(0%, 6%, 59%, 14.9%)
CIE-LABlab(81.10, -9.58, 57.59)
CIE-LCHlch(81.10, 58.38, 99.45°)
OKLaboklab(83.38% -0.0304 0.1327)
OKLCHoklch(83.38% 0.136 102.9)
XYZxyz(52.0132, 58.6606, 18.0321)
Luminance0.5866 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC59 #5966D9
analogous
#D98C59 #D9CC59 #A6D959
triadic
#D9CC59 #59D9CC #CC59D9
tetradic
#D9CC59 #59D98C #5966D9 #D959A6
square
#D9CC59 #59D98C #5966D9 #D959A6
split-complementary
#D9CC59 #59A6D9 #8C59D9
monochromatic
#958A22 #C7B82E #D9CC59 #E4DB8B #F0EBBD

Accessibility & contrast

On white

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

On black

12.73
#D9CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC59
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC59#FFFFFF#000000##000000
##D9CC591.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64D
Deuteranopia (green-blind)
#E1CC5F
Tritanopia (blue-blind)
#E8BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc59;
/* rgb */ color: rgb(217, 204, 89);
/* oklch */ color: oklch(83.4% 0.136 102.9);
Tailwind
colors: {
  custom: {
    50: '#e8db8c',
    500: '#d9cc59',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc59;
$custom-light: #e8db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc59",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 53.906,
    "s": 62.745,
    "l": 60
  },
  "oklch": {
    "l": 0.83381,
    "c": 0.13611,
    "h": 102.9
  },
  "luminance": 0.58659
}

Semantic roles & 50–950 ramp

primary
#D9CC59
secondary
#3C469A
accent
#53E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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