#D1CA5F#D1CA5F

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

Color values

HEX#D1CA5F
RGBrgb(209, 202, 95)
HSLhsl(56, 55%, 60%)
HSVhsv(56, 55%, 82%)
CMYKcmyk(0%, 3.3%, 54.5%, 18%)
CIE-LABlab(79.97, -11.43, 53.41)
CIE-LCHlch(79.97, 54.62, 102.07°)
OKLaboklab(82.34% -0.0345 0.1246)
OKLCHoklch(82.34% 0.129 105.5)
XYZxyz(49.4821, 56.6241, 19.1473)
Luminance0.5662 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA5F #5F66D1
analogous
#D1915F #D1CA5F #9FD15F
triadic
#D1CA5F #5FD1CA #CA5FD1
tetradic
#D1CA5F #5FD191 #5F66D1 #D15F9F
square
#D1CA5F #5FD191 #5F66D1 #D15F9F
split-complementary
#D1CA5F #5F9FD1 #915FD1
monochromatic
#8D8729 #BDB436 #D1CA5F #DFDA8F #ECE9BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CA5F#FFFFFF#000000##000000
##D1CA5F1.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)
#D9C354
Deuteranopia (green-blind)
#DCC964
Tritanopia (blue-blind)
#DFBEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca5f;
/* rgb */ color: rgb(209, 202, 95);
/* oklch */ color: oklch(82.3% 0.129 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1d990',
    500: '#d1ca5f',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca5f;
$custom-light: #e1d990;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca5f",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 95
  },
  "hsl": {
    "h": 56.316,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82336,
    "c": 0.12927,
    "h": 105.5
  },
  "luminance": 0.56623
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CA5F

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

Preview Lab → · Contrast checker → · Palette generator →

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