#D0CA5A#D0CA5A

#D0CA5A is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.2% C 0.134 H 106.2°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#D0CA5A
RGBrgb(208, 202, 90)
HSLhsl(57, 56%, 58%)
HSVhsv(57, 57%, 82%)
CMYKcmyk(0%, 2.9%, 56.7%, 18.4%)
CIE-LABlab(79.84, -12.22, 55.52)
CIE-LCHlch(79.84, 56.85, 102.41°)
OKLaboklab(82.2% -0.0372 0.1286)
OKLCHoklch(82.2% 0.134 106.2)
XYZxyz(48.9799, 56.3907, 17.9753)
Luminance0.5639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA5A #5A60D0
analogous
#D08F5A #D0CA5A #9BD05A
triadic
#D0CA5A #5AD0CA #CA5AD0
tetradic
#D0CA5A #5AD08F #5A60D0 #D05A9B
square
#D0CA5A #5AD08F #5A60D0 #D05A9B
split-complementary
#D0CA5A #5A9BD0 #8F5AD0
monochromatic
#898427 #B8B234 #D0CA5A #DED98A #EBE9B9

Accessibility & contrast

On white

1.71
#D0CA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#D0CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0CA5A
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0CA5A#FFFFFF#000000##000000
##D0CA5A1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34E
Deuteranopia (green-blind)
#DCC860
Tritanopia (blue-blind)
#DEBEB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d0ca5a;
/* rgb */ color: rgb(208, 202, 90);
/* oklch */ color: oklch(82.2% 0.134 106.2);
Tailwind
colors: {
  custom: {
    50: '#e1d98c',
    500: '#d0ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca5a;
$custom-light: #e1d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca5a",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 56.949,
    "s": 55.66,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82195,
    "c": 0.13385,
    "h": 106.2
  },
  "luminance": 0.56389
}

Semantic roles & 50–950 ramp

primary
#D0CA5A
secondary
#3F438F
accent
#50DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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