#D1CD5E#D1CD5E

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

Color values

HEX#D1CD5E
RGBrgb(209, 205, 94)
HSLhsl(58, 56%, 59%)
HSVhsv(58, 55%, 82%)
CMYKcmyk(0%, 1.9%, 55%, 18%)
CIE-LABlab(80.75, -13.02, 54.77)
CIE-LCHlch(80.75, 56.30, 103.37°)
OKLaboklab(82.96% -0.0391 0.1274)
OKLCHoklch(82.96% 0.133 107.1)
XYZxyz(50.1476, 58.0276, 19.1463)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD5E #5E62D1
analogous
#D1945E #D1CD5E #9CD15E
triadic
#D1CD5E #5ED1CD #CD5ED1
tetradic
#D1CD5E #5ED194 #5E62D1 #D15E9C
square
#D1CD5E #5ED194 #5E62D1 #D15E9C
split-complementary
#D1CD5E #5E9CD1 #945ED1
monochromatic
#8C8928 #BCB736 #D1CD5E #DFDC8E #ECEBBD

Accessibility & contrast

On white

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

On black

12.61
#D1CD5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1CD5E
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1CD5E#FFFFFF#000000##000000
##D1CD5E1.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1cd5e;
/* rgb */ color: rgb(209, 205, 94);
/* oklch */ color: oklch(83.0% 0.133 107.1);
Tailwind
colors: {
  custom: {
    50: '#e1dc8f',
    500: '#d1cd5e',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd5e;
$custom-light: #e1dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd5e",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 57.913,
    "s": 55.556,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82958,
    "c": 0.13328,
    "h": 107.1
  },
  "luminance": 0.58026
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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