#D9CA50#D9CA50

#D9CA50 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.142 H 102.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D9CA50
RGBrgb(217, 202, 80)
HSLhsl(53, 64%, 58%)
HSVhsv(53, 63%, 85%)
CMYKcmyk(0%, 6.9%, 63.1%, 14.9%)
CIE-LABlab(80.50, -9.16, 60.83)
CIE-LCHlch(80.50, 61.52, 98.56°)
OKLaboklab(82.88% -0.0302 0.1383)
OKLCHoklch(82.88% 0.142 102.3)
XYZxyz(51.1858, 57.5740, 16.0046)
Luminance0.5757 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA50 #505FD9
analogous
#D98550 #D9CA50 #A3D950
triadic
#D9CA50 #50D9CA #CA50D9
tetradic
#D9CA50 #50D985 #505FD9 #D950A3
square
#D9CA50 #50D985 #505FD9 #D950A3
split-complementary
#D9CA50 #50A3D9 #8550D9
monochromatic
#8F831F #C2B12A #D9CA50 #E4D982 #EFE8B5

Accessibility & contrast

On white

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

On black

12.51
#D9CA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA50
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA50#FFFFFF#000000##000000
##D9CA501.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC441
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#E9BDB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca50;
/* rgb */ color: rgb(217, 202, 80);
/* oklch */ color: oklch(82.9% 0.142 102.3);
Tailwind
colors: {
  custom: {
    50: '#e8d986',
    500: '#d9ca50',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca50;
$custom-light: #e8d986;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca50",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 80
  },
  "hsl": {
    "h": 53.431,
    "s": 64.319,
    "l": 58.235
  },
  "oklch": {
    "l": 0.82877,
    "c": 0.14159,
    "h": 102.3
  },
  "luminance": 0.57572
}

Semantic roles & 50–950 ramp

primary
#D9CA50
secondary
#384395
accent
#53E740
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CA50

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

Preview Lab → · Contrast checker → · Palette generator →

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