#D9CD61#D9CD61

#D9CD61 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.7% C 0.130 H 103.0°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D9CD61
RGBrgb(217, 205, 97)
HSLhsl(54, 61%, 62%)
HSVhsv(54, 55%, 85%)
CMYKcmyk(0%, 5.5%, 55.3%, 14.9%)
CIE-LABlab(81.44, -9.50, 54.36)
CIE-LCHlch(81.44, 55.18, 99.91°)
OKLaboklab(83.68% -0.0292 0.1267)
OKLCHoklch(83.68% 0.13 103)
XYZxyz(52.6060, 59.2793, 19.9779)
Luminance0.5928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD61 #616DD9
analogous
#D99161 #D9CD61 #A9D961
triadic
#D9CD61 #61D9CD #CD61D9
tetradic
#D9CD61 #61D991 #616DD9 #D961A9
square
#D9CD61 #61D991 #616DD9 #D961A9
split-complementary
#D9CD61 #61A9D9 #9161D9
monochromatic
#9A8F25 #CCBC31 #D9CD61 #E5DD92 #F1ECC4

Accessibility & contrast

On white

1.63
#D9CD61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.86
#D9CD61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD61
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD61#FFFFFF#000000##000000
##D9CD611.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC756
Deuteranopia (green-blind)
#E1CD66
Tritanopia (blue-blind)
#E7C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd61;
/* rgb */ color: rgb(217, 205, 97);
/* oklch */ color: oklch(83.7% 0.130 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7dc91',
    500: '#d9cd61',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd61;
$custom-light: #e7dc91;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd61",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 97
  },
  "hsl": {
    "h": 54,
    "s": 61.224,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83677,
    "c": 0.13004,
    "h": 103
  },
  "luminance": 0.59277
}

Semantic roles & 50–950 ramp

primary
#D9CD61
secondary
#3F499F
accent
#2EC91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9CD61

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

Preview Lab → · Contrast checker → · Palette generator →

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