#D0CA5B#D0CA5B

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

Color values

HEX#D0CA5B
RGBrgb(208, 202, 91)
HSLhsl(57, 55%, 59%)
HSVhsv(57, 56%, 82%)
CMYKcmyk(0%, 2.9%, 56.2%, 18.4%)
CIE-LABlab(79.85, -12.15, 55.08)
CIE-LCHlch(79.85, 56.40, 102.44°)
OKLaboklab(82.21% -0.0369 0.1277)
OKLCHoklch(82.21% 0.133 106.1)
XYZxyz(49.0228, 56.4078, 18.2010)
Luminance0.5641 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0CA5B #5B61D0
analogous
#D08F5B #D0CA5B #9BD05B
triadic
#D0CA5B #5BD0CA #CA5BD0
tetradic
#D0CA5B #5BD08F #5B61D0 #D05B9B
square
#D0CA5B #5BD08F #5B61D0 #D05B9B
split-complementary
#D0CA5B #5B9BD0 #8F5BD0
monochromatic
#898427 #B9B235 #D0CA5B #DED98B #EBE9BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0CA5B#FFFFFF#000000##000000
##D0CA5B1.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)
#D9C34F
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#DEBEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d0ca5b;
/* rgb */ color: rgb(208, 202, 91);
/* oklch */ color: oklch(82.2% 0.133 106.1);
Tailwind
colors: {
  custom: {
    50: '#e1d98d',
    500: '#d0ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #d0ca5b;
$custom-light: #e1d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d0ca5b",
  "rgb": {
    "r": 208,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 56.923,
    "s": 55.45,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82205,
    "c": 0.13297,
    "h": 106.1
  },
  "luminance": 0.56406
}

Semantic roles & 50–950 ramp

primary
#D0CA5B
secondary
#3F4490
accent
#51DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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