#D1CD5B#D1CD5B

#D1CD5B is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.136 H 107.2°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D1CD5B
RGBrgb(209, 205, 91)
HSLhsl(58, 56%, 59%)
HSVhsv(58, 56%, 82%)
CMYKcmyk(0%, 1.9%, 56.5%, 18%)
CIE-LABlab(80.72, -13.25, 56.09)
CIE-LCHlch(80.72, 57.63, 103.29°)
OKLaboklab(82.93% -0.0401 0.1299)
OKLCHoklch(82.93% 0.136 107.2)
XYZxyz(50.0156, 57.9748, 18.4511)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD5B #5B5FD1
analogous
#D1925B #D1CD5B #9AD15B
triadic
#D1CD5B #5BD1CD #CD5BD1
tetradic
#D1CD5B #5BD192 #5B5FD1 #D15B9A
square
#D1CD5B #5BD192 #5B5FD1 #D15B9A
split-complementary
#D1CD5B #5B9AD1 #925BD1
monochromatic
#8B8727 #BAB634 #D1CD5B #DEDC8B #ECEABB

Accessibility & contrast

On white

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

On black

12.59
#D1CD5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD5B
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD5B#FFFFFF#000000##000000
##D1CD5B1.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC64F
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#DFC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd5b;
/* rgb */ color: rgb(209, 205, 91);
/* oklch */ color: oklch(82.9% 0.136 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc8d',
    500: '#d1cd5b',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd5b;
$custom-light: #e2dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd5b",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 91
  },
  "hsl": {
    "h": 57.966,
    "s": 56.19,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82925,
    "c": 0.13594,
    "h": 107.2
  },
  "luminance": 0.57973
}

Semantic roles & 50–950 ramp

primary
#D1CD5B
secondary
#3F4291
accent
#4DDF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CD5B

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

Preview Lab → · Contrast checker → · Palette generator →

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