#D1CD59#D1CD59

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

Color values

HEX#D1CD59
RGBrgb(209, 205, 89)
HSLhsl(58, 57%, 58%)
HSVhsv(58, 57%, 82%)
CMYKcmyk(0%, 1.9%, 57.4%, 18%)
CIE-LABlab(80.71, -13.40, 56.96)
CIE-LCHlch(80.71, 58.52, 103.23°)
OKLaboklab(82.9% -0.0407 0.1315)
OKLCHoklch(82.9% 0.138 107.2)
XYZxyz(49.9305, 57.9407, 18.0028)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1CD59 #595DD1
analogous
#D19159 #D1CD59 #99D159
triadic
#D1CD59 #59D1CD #CD59D1
tetradic
#D1CD59 #59D191 #595DD1 #D15999
square
#D1CD59 #59D191 #595DD1 #D15999
split-complementary
#D1CD59 #5999D1 #9159D1
monochromatic
#898626 #B9B533 #D1CD59 #DEDB89 #ECEAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1CD59#FFFFFF#000000##000000
##D1CD591.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)
#DCC64D
Deuteranopia (green-blind)
#DFCA5F
Tritanopia (blue-blind)
#DFC1B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d1cd59;
/* rgb */ color: rgb(209, 205, 89);
/* oklch */ color: oklch(82.9% 0.138 107.2);
Tailwind
colors: {
  custom: {
    50: '#e2dc8c',
    500: '#d1cd59',
    950: '#000000',
  },
}
SCSS
$custom: #d1cd59;
$custom-light: #e2dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1cd59",
  "rgb": {
    "r": 209,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 58,
    "s": 56.604,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82904,
    "c": 0.13768,
    "h": 107.2
  },
  "luminance": 0.57939
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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