#D9CD5C#D9CD5C

#D9CD5C is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.6% C 0.134 H 103.3°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D9CD5C
RGBrgb(217, 205, 92)
HSLhsl(54, 62%, 61%)
HSVhsv(54, 58%, 85%)
CMYKcmyk(0%, 5.5%, 57.6%, 14.9%)
CIE-LABlab(81.40, -9.87, 56.58)
CIE-LCHlch(81.40, 57.43, 99.90°)
OKLaboklab(83.62% -0.0309 0.1309)
OKLCHoklch(83.62% 0.134 103.3)
XYZxyz(52.3801, 59.1889, 18.7886)
Luminance0.5919 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD5C #5C68D9
analogous
#D98E5C #D9CD5C #A6D95C
triadic
#D9CD5C #5CD9CD #CD5CD9
tetradic
#D9CD5C #5CD98E #5C68D9 #D95CA6
square
#D9CD5C #5CD98E #5C68D9 #D95CA6
split-complementary
#D9CD5C #5CA6D9 #8E5CD9
monochromatic
#978C23 #C9BA2F #D9CD5C #E5DC8E #F0EBBF

Accessibility & contrast

On white

1.64
#D9CD5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#D9CD5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD5C
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD5C#FFFFFF#000000##000000
##D9CD5C1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC750
Deuteranopia (green-blind)
#E1CD62
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd5c;
/* rgb */ color: rgb(217, 205, 92);
/* oklch */ color: oklch(83.6% 0.134 103.3);
Tailwind
colors: {
  custom: {
    50: '#e7dc8e',
    500: '#d9cd5c',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd5c;
$custom-light: #e7dc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd5c",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 92
  },
  "hsl": {
    "h": 54.24,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83621,
    "c": 0.13447,
    "h": 103.3
  },
  "luminance": 0.59187
}

Semantic roles & 50–950 ramp

primary
#D9CD5C
secondary
#3D469C
accent
#2CCA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9CD5C

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

Preview Lab → · Contrast checker → · Palette generator →

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