#D1CD5A#D1CD5A

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

Color values

HEX#D1CD5A
RGBrgb(209, 205, 90)
HSLhsl(58, 56%, 59%)
HSVhsv(58, 57%, 82%)
CMYKcmyk(0%, 1.9%, 56.9%, 18%)
CIE-LABlab(80.72, -13.32, 56.53)
CIE-LCHlch(80.72, 58.08, 103.26°)
OKLaboklab(82.92% -0.0404 0.1307)
OKLCHoklch(82.92% 0.137 107.2)
XYZxyz(49.9728, 57.9576, 18.2254)
Luminance0.5796 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD5A #5A5ED1
analogous
#D1915A #D1CD5A #99D15A
triadic
#D1CD5A #5AD1CD #CD5AD1
tetradic
#D1CD5A #5AD191 #5A5ED1 #D15A99
square
#D1CD5A #5AD191 #5A5ED1 #D15A99
split-complementary
#D1CD5A #5A99D1 #915AD1
monochromatic
#8A8727 #BAB534 #D1CD5A #DEDC8A #ECEABA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CD5A#FFFFFF#000000##000000
##D1CD5A1.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)
#DCC64E
Deuteranopia (green-blind)
#DFCB60
Tritanopia (blue-blind)
#DFC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd5a;
/* rgb */ color: rgb(209, 205, 90);
/* oklch */ color: oklch(82.9% 0.137 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc8d',
    500: '#d1cd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd5a;
$custom-light: #e2dc8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd5a",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 90
  },
  "hsl": {
    "h": 57.983,
    "s": 56.398,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82915,
    "c": 0.13682,
    "h": 107.2
  },
  "luminance": 0.57956
}

Semantic roles & 50–950 ramp

primary
#D1CD5A
secondary
#3F4190
accent
#4DE048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D1CD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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