#D1CA5D#D1CA5D

#D1CA5D is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.3% C 0.131 H 105.6°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#D1CA5D
RGBrgb(209, 202, 93)
HSLhsl(56, 56%, 59%)
HSVhsv(56, 56%, 82%)
CMYKcmyk(0%, 3.3%, 55.5%, 18%)
CIE-LABlab(79.95, -11.58, 54.31)
CIE-LCHlch(79.95, 55.53, 102.04°)
OKLaboklab(82.31% -0.0351 0.1263)
OKLCHoklch(82.31% 0.131 105.6)
XYZxyz(49.3923, 56.5882, 18.6746)
Luminance0.5659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA5D #5D64D1
analogous
#D1905D #D1CA5D #9ED15D
triadic
#D1CA5D #5DD1CA #CA5DD1
tetradic
#D1CA5D #5DD190 #5D64D1 #D15D9E
square
#D1CA5D #5DD190 #5D64D1 #D15D9E
split-complementary
#D1CA5D #5D9ED1 #905DD1
monochromatic
#8C8628 #BCB335 #D1CA5D #DFDA8D #ECE9BC

Accessibility & contrast

On white

1.70
#D1CA5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.32
#D1CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA5D
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA5D#FFFFFF#000000##000000
##D1CA5D1.001.7012.3212.32
#FFFFFF1.701.0021.0021.00
#00000012.3221.001.001.00
##00000012.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C352
Deuteranopia (green-blind)
#DCC963
Tritanopia (blue-blind)
#DFBEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca5d;
/* rgb */ color: rgb(209, 202, 93);
/* oklch */ color: oklch(82.3% 0.131 105.6);
Tailwind
colors: {
  custom: {
    50: '#e1d98e',
    500: '#d1ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca5d;
$custom-light: #e1d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca5d",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 56.379,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82313,
    "c": 0.1311,
    "h": 105.6
  },
  "luminance": 0.56587
}

Semantic roles & 50–950 ramp

primary
#D1CA5D
secondary
#404592
accent
#52DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D1CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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