#D9CA5A#D9CA5A

#D9CA5A is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.133 H 101.7°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D9CA5A
RGBrgb(217, 202, 90)
HSLhsl(53, 63%, 60%)
HSVhsv(53, 59%, 85%)
CMYKcmyk(0%, 6.9%, 58.5%, 14.9%)
CIE-LABlab(80.59, -8.49, 56.57)
CIE-LCHlch(80.59, 57.21, 98.54°)
OKLaboklab(82.98% -0.0271 0.1306)
OKLCHoklch(82.98% 0.133 101.7)
XYZxyz(51.5831, 57.7329, 18.0973)
Luminance0.5773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA5A #5A69D9
analogous
#D98A5A #D9CA5A #A9D95A
triadic
#D9CA5A #5AD9CA #CA5AD9
tetradic
#D9CA5A #5AD98A #5A69D9 #D95AA9
square
#D9CA5A #5AD98A #5A69D9 #D95AA9
split-complementary
#D9CA5A #5AA9D9 #8A5AD9
monochromatic
#968823 #C8B62E #D9CA5A #E4DA8C #F0EABD

Accessibility & contrast

On white

1.67
#D9CA5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.55
#D9CA5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA5A
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA5A#FFFFFF#000000##000000
##D9CA5A1.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44E
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#E8BDB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d9ca5a;
/* rgb */ color: rgb(217, 202, 90);
/* oklch */ color: oklch(83.0% 0.133 101.7);
Tailwind
colors: {
  custom: {
    50: '#e7d98d',
    500: '#d9ca5a',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca5a;
$custom-light: #e7d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca5a",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 90
  },
  "hsl": {
    "h": 52.913,
    "s": 62.562,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82976,
    "c": 0.13342,
    "h": 101.7
  },
  "luminance": 0.57731
}

Semantic roles & 50–950 ramp

primary
#D9CA5A
secondary
#3C489B
accent
#30CA1B
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9CA5A

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

Preview Lab → · Contrast checker → · Palette generator →

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