#D9CD63#D9CD63

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

Color values

HEX#D9CD63
RGBrgb(217, 205, 99)
HSLhsl(54, 61%, 62%)
HSVhsv(54, 54%, 85%)
CMYKcmyk(0%, 5.5%, 54.4%, 14.9%)
CIE-LABlab(81.47, -9.34, 53.46)
CIE-LCHlch(81.47, 54.27, 99.91°)
OKLaboklab(83.7% -0.0286 0.125)
OKLCHoklch(83.7% 0.128 102.9)
XYZxyz(52.7004, 59.3170, 20.4753)
Luminance0.5931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD63 #636FD9
analogous
#D99263 #D9CD63 #AAD963
triadic
#D9CD63 #63D9CD #CD63D9
tetradic
#D9CD63 #63D992 #636FD9 #D963AA
square
#D9CD63 #63D992 #636FD9 #D963AA
split-complementary
#D9CD63 #63AAD9 #9263D9
monochromatic
#9C9026 #CDBD32 #D9CD63 #E5DD94 #F1EDC5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CD63#FFFFFF#000000##000000
##D9CD631.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)
#DDC759
Deuteranopia (green-blind)
#E1CD68
Tritanopia (blue-blind)
#E7C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd63;
/* rgb */ color: rgb(217, 205, 99);
/* oklch */ color: oklch(83.7% 0.128 102.9);
Tailwind
colors: {
  custom: {
    50: '#e7dc92',
    500: '#d9cd63',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd63;
$custom-light: #e7dc92;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd63",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 99
  },
  "hsl": {
    "h": 53.898,
    "s": 60.825,
    "l": 61.961
  },
  "oklch": {
    "l": 0.837,
    "c": 0.1282,
    "h": 102.9
  },
  "luminance": 0.59315
}

Semantic roles & 50–950 ramp

primary
#D9CD63
secondary
#404AA0
accent
#2EC91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9CD63

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

Preview Lab → · Contrast checker → · Palette generator →

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