#D5CD6B#D5CD6B

#D5CD6B is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.5% C 0.121 H 104.5°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D5CD6B
RGBrgb(213, 205, 107)
HSLhsl(55, 56%, 63%)
HSVhsv(55, 50%, 84%)
CMYKcmyk(0%, 3.8%, 49.8%, 16.5%)
CIE-LABlab(81.22, -10.31, 49.32)
CIE-LCHlch(81.22, 50.39, 101.81°)
OKLaboklab(83.45% -0.0302 0.1168)
OKLCHoklch(83.45% 0.121 104.5)
XYZxyz(51.9271, 58.8719, 22.5351)
Luminance0.5887 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD6B #6B73D5
analogous
#D5986B #D5CD6B #A8D56B
triadic
#D5CD6B #6BD5CD #CD6BD5
tetradic
#D5CD6B #6BD598 #6B73D5 #D56BA8
square
#D5CD6B #6BD598 #6B73D5 #D56BA8
split-complementary
#D5CD6B #6BA8D5 #986BD5
monochromatic
#9A922C #C7BD3B #D5CD6B #E3DD9B #F0EDCA

Accessibility & contrast

On white

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

On black

12.77
#D5CD6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD6B
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD6B#FFFFFF#000000##000000
##D5CD6B1.001.6412.7712.77
#FFFFFF1.641.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC762
Deuteranopia (green-blind)
#DFCC70
Tritanopia (blue-blind)
#E2C2B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd6b;
/* rgb */ color: rgb(213, 205, 107);
/* oklch */ color: oklch(83.5% 0.121 104.5);
Tailwind
colors: {
  custom: {
    50: '#e4dc98',
    500: '#d5cd6b',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd6b;
$custom-light: #e4dc98;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd6b",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 107
  },
  "hsl": {
    "h": 55.472,
    "s": 55.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.83454,
    "c": 0.12067,
    "h": 104.5
  },
  "luminance": 0.5887
}

Semantic roles & 50–950 ramp

primary
#D5CD6B
secondary
#464C9F
accent
#2EC322
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CD6B

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

Preview Lab → · Contrast checker → · Palette generator →

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