#D1CA5C#D1CA5C

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

Color values

HEX#D1CA5C
RGBrgb(209, 202, 92)
HSLhsl(56, 56%, 59%)
HSVhsv(56, 56%, 82%)
CMYKcmyk(0%, 3.3%, 56%, 18%)
CIE-LABlab(79.94, -11.66, 54.75)
CIE-LCHlch(79.94, 55.98, 102.02°)
OKLaboklab(82.3% -0.0355 0.1271)
OKLCHoklch(82.3% 0.132 105.6)
XYZxyz(49.3483, 56.5706, 18.4429)
Luminance0.5657 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA5C #5C63D1
analogous
#D1905C #D1CA5C #9ED15C
triadic
#D1CA5C #5CD1CA #CA5CD1
tetradic
#D1CA5C #5CD190 #5C63D1 #D15C9E
square
#D1CA5C #5CD190 #5C63D1 #D15C9E
split-complementary
#D1CA5C #5C9ED1 #905CD1
monochromatic
#8B8527 #BBB335 #D1CA5C #DEDA8C #ECE9BB

Accessibility & contrast

On white

1.71
#D1CA5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.31
#D1CA5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CA5C
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CA5C#FFFFFF#000000##000000
##D1CA5C1.001.7112.3112.31
#FFFFFF1.711.0021.0021.00
#00000012.3121.001.001.00
##00000012.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1ca5c;
/* rgb */ color: rgb(209, 202, 92);
/* oklch */ color: oklch(82.3% 0.132 105.6);
Tailwind
colors: {
  custom: {
    50: '#e2d98e',
    500: '#d1ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca5c;
$custom-light: #e2d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca5c",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 56.41,
    "s": 55.981,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82302,
    "c": 0.132,
    "h": 105.6
  },
  "luminance": 0.56569
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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