#D9CD5E#D9CD5E

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

Color values

HEX#D9CD5E
RGBrgb(217, 205, 94)
HSLhsl(54, 62%, 61%)
HSVhsv(54, 57%, 85%)
CMYKcmyk(0%, 5.5%, 56.7%, 14.9%)
CIE-LABlab(81.41, -9.73, 55.70)
CIE-LCHlch(81.41, 56.54, 99.91°)
OKLaboklab(83.64% -0.0302 0.1292)
OKLCHoklch(83.64% 0.133 103.2)
XYZxyz(52.4687, 59.2244, 19.2551)
Luminance0.5922 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD5E #5E6AD9
analogous
#D98F5E #D9CD5E #A7D95E
triadic
#D9CD5E #5ED9CD #CD5ED9
tetradic
#D9CD5E #5ED98F #5E6AD9 #D95EA7
square
#D9CD5E #5ED98F #5E6AD9 #D95EA7
split-complementary
#D9CD5E #5EA7D9 #8F5ED9
monochromatic
#998D24 #CABB30 #D9CD5E #E5DC90 #F0ECC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9CD5E#FFFFFF#000000##000000
##D9CD5E1.001.6312.8412.84
#FFFFFF1.631.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC753
Deuteranopia (green-blind)
#E1CD64
Tritanopia (blue-blind)
#E8C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9cd5e;
/* rgb */ color: rgb(217, 205, 94);
/* oklch */ color: oklch(83.6% 0.133 103.2);
Tailwind
colors: {
  custom: {
    50: '#e7dc8f',
    500: '#d9cd5e',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd5e;
$custom-light: #e7dc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd5e",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 94
  },
  "hsl": {
    "h": 54.146,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.83643,
    "c": 0.13273,
    "h": 103.2
  },
  "luminance": 0.59223
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9CD5E

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

Preview Lab → · Contrast checker → · Palette generator →

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