#D1CD5D#D1CD5D

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

Color values

HEX#D1CD5D
RGBrgb(209, 205, 93)
HSLhsl(58, 56%, 59%)
HSVhsv(58, 56%, 82%)
CMYKcmyk(0%, 1.9%, 55.5%, 18%)
CIE-LABlab(80.74, -13.10, 55.21)
CIE-LCHlch(80.74, 56.74, 103.34°)
OKLaboklab(82.95% -0.0395 0.1282)
OKLCHoklch(82.95% 0.134 107.1)
XYZxyz(50.1031, 58.0097, 18.9115)
Luminance0.5801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD5D #5D61D1
analogous
#D1935D #D1CD5D #9BD15D
triadic
#D1CD5D #5DD1CD #CD5DD1
tetradic
#D1CD5D #5DD193 #5D61D1 #D15D9B
square
#D1CD5D #5DD193 #5D61D1 #D15D9B
split-complementary
#D1CD5D #5D9BD1 #935DD1
monochromatic
#8C8828 #BCB735 #D1CD5D #DFDC8D #ECEABC

Accessibility & contrast

On white

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

On black

12.60
#D1CD5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD5D
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD5D#FFFFFF#000000##000000
##D1CD5D1.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC651
Deuteranopia (green-blind)
#DFCB63
Tritanopia (blue-blind)
#DEC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd5d;
/* rgb */ color: rgb(209, 205, 93);
/* oklch */ color: oklch(82.9% 0.134 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1dc8e',
    500: '#d1cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd5d;
$custom-light: #e1dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd5d",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 57.931,
    "s": 55.769,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82947,
    "c": 0.13418,
    "h": 107.1
  },
  "luminance": 0.58008
}

Semantic roles & 50–950 ramp

primary
#D1CD5D
secondary
#404392
accent
#4EDF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D1CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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