#D1CD5F#D1CD5F

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

Color values

HEX#D1CD5F
RGBrgb(209, 205, 95)
HSLhsl(58, 55%, 60%)
HSVhsv(58, 55%, 82%)
CMYKcmyk(0%, 1.9%, 54.5%, 18%)
CIE-LABlab(80.76, -12.94, 54.32)
CIE-LCHlch(80.76, 55.84, 103.40°)
OKLaboklab(82.97% -0.0388 0.1266)
OKLCHoklch(82.97% 0.132 107)
XYZxyz(50.1928, 58.0456, 19.3842)
Luminance0.5804 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD5F #5F63D1
analogous
#D1945F #D1CD5F #9CD15F
triadic
#D1CD5F #5FD1CD #CD5FD1
tetradic
#D1CD5F #5FD194 #5F63D1 #D15F9C
square
#D1CD5F #5FD194 #5F63D1 #D15F9C
split-complementary
#D1CD5F #5F9CD1 #945FD1
monochromatic
#8D8A29 #BDB836 #D1CD5F #DFDC8F #ECEBBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CD5F#FFFFFF#000000##000000
##D1CD5F1.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)
#DCC654
Deuteranopia (green-blind)
#DECB65
Tritanopia (blue-blind)
#DEC1B5
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd5f;
/* rgb */ color: rgb(209, 205, 95);
/* oklch */ color: oklch(83.0% 0.132 107.0);
Tailwind
colors: {
  custom: {
    50: '#e1dc90',
    500: '#d1cd5f',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd5f;
$custom-light: #e1dc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd5f",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 95
  },
  "hsl": {
    "h": 57.895,
    "s": 55.34,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82969,
    "c": 0.13238,
    "h": 107
  },
  "luminance": 0.58044
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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