#D0CC5A#D0CC5A

#D0CC5A is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.136 H 107.2°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D0CC5A
RGBrgb(208, 204, 90)
HSLhsl(58, 56%, 58%)
HSVhsv(58, 57%, 82%)
CMYKcmyk(0%, 1.9%, 56.7%, 18.4%)
CIE-LABlab(80.37, -13.23, 56.12)
CIE-LCHlch(80.37, 57.66, 103.27°)
OKLaboklab(82.62% -0.0401 0.1299)
OKLCHoklch(82.62% 0.136 107.2)
XYZxyz(49.4522, 57.3353, 18.1327)
Luminance0.5733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CC5A #5A5ED0
analogous
#D0915A #D0CC5A #99D05A
triadic
#D0CC5A #5AD0CC #CC5AD0
tetradic
#D0CC5A #5AD091 #5A5ED0 #D05A99
square
#D0CC5A #5AD091 #5A5ED0 #D05A99
split-complementary
#D0CC5A #5A99D0 #915AD0
monochromatic
#898527 #B8B434 #D0CC5A #DEDB8A #EBE9B9

Accessibility & contrast

On white

1.68
#D0CC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.47
#D0CC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CC5A
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CC5A#FFFFFF#000000##000000
##D0CC5A1.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC54E
Deuteranopia (green-blind)
#DECA60
Tritanopia (blue-blind)
#DEC0B3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d0cc5a;
/* rgb */ color: rgb(208, 204, 90);
/* oklch */ color: oklch(82.6% 0.136 107.2);
Tailwind
colors: {
  custom: {
    50: '#e1db8d',
    500: '#d0cc5a',
    950: '#000000',
  },
}
SCSS
$custom: #d0cc5a;
$custom-light: #e1db8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0cc5a",
  "rgb": {
    "r": 208,
    "g": 204,
    "b": 90
  },
  "hsl": {
    "h": 57.966,
    "s": 55.66,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82618,
    "c": 0.1359,
    "h": 107.2
  },
  "luminance": 0.57334
}

Semantic roles & 50–950 ramp

primary
#D0CC5A
secondary
#3F428F
accent
#4EDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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