#D1CA5B#D1CA5B

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

Color values

HEX#D1CA5B
RGBrgb(209, 202, 91)
HSLhsl(56, 56%, 59%)
HSVhsv(56, 56%, 82%)
CMYKcmyk(0%, 3.3%, 56.5%, 18%)
CIE-LABlab(79.93, -11.73, 55.19)
CIE-LCHlch(79.93, 56.43, 102.00°)
OKLaboklab(82.29% -0.0358 0.128)
OKLCHoklch(82.29% 0.133 105.6)
XYZxyz(49.3049, 56.5533, 18.2142)
Luminance0.5655 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CA5B #5B62D1
analogous
#D18F5B #D1CA5B #9DD15B
triadic
#D1CA5B #5BD1CA #CA5BD1
tetradic
#D1CA5B #5BD18F #5B62D1 #D15B9D
square
#D1CA5B #5BD18F #5B62D1 #D15B9D
split-complementary
#D1CA5B #5B9DD1 #8F5BD1
monochromatic
#8B8527 #BAB334 #D1CA5B #DED98B #ECE9BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CA5B#FFFFFF#000000##000000
##D1CA5B1.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)
#D9C34F
Deuteranopia (green-blind)
#DCC861
Tritanopia (blue-blind)
#DFBEB2
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d1ca5b;
/* rgb */ color: rgb(209, 202, 91);
/* oklch */ color: oklch(82.3% 0.133 105.6);
Tailwind
colors: {
  custom: {
    50: '#e2d98d',
    500: '#d1ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #d1ca5b;
$custom-light: #e2d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1ca5b",
  "rgb": {
    "r": 209,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 56.441,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82291,
    "c": 0.13288,
    "h": 105.6
  },
  "luminance": 0.56552
}

Semantic roles & 50–950 ramp

primary
#D1CA5B
secondary
#3F4491
accent
#51DF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D1CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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