#D9CD5D#D9CD5D

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

Color values

HEX#D9CD5D
RGBrgb(217, 205, 93)
HSLhsl(54, 62%, 61%)
HSVhsv(54, 57%, 85%)
CMYKcmyk(0%, 5.5%, 57.1%, 14.9%)
CIE-LABlab(81.41, -9.80, 56.14)
CIE-LCHlch(81.41, 56.99, 99.90°)
OKLaboklab(83.63% -0.0305 0.1301)
OKLCHoklch(83.63% 0.134 103.2)
XYZxyz(52.4241, 59.2065, 19.0203)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD5D #5D69D9
analogous
#D98F5D #D9CD5D #A7D95D
triadic
#D9CD5D #5DD9CD #CD5DD9
tetradic
#D9CD5D #5DD98F #5D69D9 #D95DA7
square
#D9CD5D #5DD98F #5D69D9 #D95DA7
split-complementary
#D9CD5D #5DA7D9 #8F5DD9
monochromatic
#988D24 #CABB2F #D9CD5D #E5DC8F #F0ECC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CD5D#FFFFFF#000000##000000
##D9CD5D1.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)
#DDC751
Deuteranopia (green-blind)
#E1CD63
Tritanopia (blue-blind)
#E8C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd5d;
/* rgb */ color: rgb(217, 205, 93);
/* oklch */ color: oklch(83.6% 0.134 103.2);
Tailwind
colors: {
  custom: {
    50: '#e7dc8f',
    500: '#d9cd5d',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd5d;
$custom-light: #e7dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd5d",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 93
  },
  "hsl": {
    "h": 54.194,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83632,
    "c": 0.1336,
    "h": 103.2
  },
  "luminance": 0.59205
}

Semantic roles & 50–950 ramp

primary
#D9CD5D
secondary
#3E479C
accent
#2DCA1C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150D
muted
#85847F

Preview Lab

Preview with #D9CD5D

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

Preview Lab → · Contrast checker → · Palette generator →

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