#D9CA5D#D9CA5D

#D9CA5D is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.131 H 101.5°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D9CA5D
RGBrgb(217, 202, 93)
HSLhsl(53, 62%, 61%)
HSVhsv(53, 57%, 85%)
CMYKcmyk(0%, 6.9%, 57.1%, 14.9%)
CIE-LABlab(80.62, -8.28, 55.25)
CIE-LCHlch(80.62, 55.87, 98.52°)
OKLaboklab(83.01% -0.0262 0.1282)
OKLCHoklch(83.01% 0.131 101.5)
XYZxyz(51.7134, 57.7850, 18.7834)
Luminance0.5778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA5D #5D6CD9
analogous
#D98C5D #D9CA5D #AAD95D
triadic
#D9CA5D #5DD9CA #CA5DD9
tetradic
#D9CA5D #5DD98C #5D6CD9 #D95DAA
square
#D9CA5D #5DD98C #5D6CD9 #D95DAA
split-complementary
#D9CA5D #5DAAD9 #8C5DD9
monochromatic
#988A24 #CAB72F #D9CA5D #E5DA8F #F0EAC0

Accessibility & contrast

On white

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

On black

12.56
#D9CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA5D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA5D#FFFFFF#000000##000000
##D9CA5D1.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9ca5d;
/* rgb */ color: rgb(217, 202, 93);
/* oklch */ color: oklch(83.0% 0.131 101.5);
Tailwind
colors: {
  custom: {
    50: '#e7d98e',
    500: '#d9ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca5d;
$custom-light: #e7d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca5d",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 52.742,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83008,
    "c": 0.13081,
    "h": 101.5
  },
  "luminance": 0.57783
}

Semantic roles & 50–950 ramp

primary
#D9CA5D
secondary
#3E499C
accent
#31CA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D9CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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