#D9CC50#D9CC50

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

Color values

HEX#D9CC50
RGBrgb(217, 204, 80)
HSLhsl(54, 64%, 58%)
HSVhsv(54, 63%, 85%)
CMYKcmyk(0%, 6%, 63.1%, 14.9%)
CIE-LABlab(81.03, -10.18, 61.39)
CIE-LCHlch(81.03, 62.23, 99.41°)
OKLaboklab(83.29% -0.0331 0.1395)
OKLCHoklch(83.29% 0.143 103.3)
XYZxyz(51.6581, 58.5186, 16.1620)
Luminance0.5852 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CC50 #505DD9
analogous
#D98850 #D9CC50 #A1D950
triadic
#D9CC50 #50D9CC #CC50D9
tetradic
#D9CC50 #50D988 #505DD9 #D950A1
square
#D9CC50 #50D988 #505DD9 #D950A1
split-complementary
#D9CC50 #50A1D9 #8850D9
monochromatic
#8F851F #C2B32A #D9CC50 #E4DB82 #EFE9B5

Accessibility & contrast

On white

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

On black

12.70
#D9CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CC50
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CC50#FFFFFF#000000##000000
##D9CC501.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC641
Deuteranopia (green-blind)
#E1CC57
Tritanopia (blue-blind)
#E8BFB2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d9cc50;
/* rgb */ color: rgb(217, 204, 80);
/* oklch */ color: oklch(83.3% 0.143 103.3);
Tailwind
colors: {
  custom: {
    50: '#e8db87',
    500: '#d9cc50',
    950: '#000000',
  },
}
SCSS
$custom: #d9cc50;
$custom-light: #e8db87;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cc50",
  "rgb": {
    "r": 217,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 54.307,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.83294,
    "c": 0.14338,
    "h": 103.3
  },
  "luminance": 0.58517
}

Semantic roles & 50–950 ramp

primary
#D9CC50
secondary
#384195
accent
#50E740
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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