#D5CD6A#D5CD6A

#D5CD6A is a very light, vivid yellow. Relative luminance 0.588; OKLCH L 83.4% C 0.122 H 104.6°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D5CD6A
RGBrgb(213, 205, 106)
HSLhsl(56, 56%, 63%)
HSVhsv(56, 50%, 84%)
CMYKcmyk(0%, 3.8%, 50.2%, 16.5%)
CIE-LABlab(81.21, -10.40, 49.78)
CIE-LCHlch(81.21, 50.86, 101.80°)
OKLaboklab(83.44% -0.0306 0.1177)
OKLCHoklch(83.44% 0.122 104.6)
XYZxyz(51.8748, 58.8510, 22.2597)
Luminance0.5885 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD6A #6A72D5
analogous
#D5976A #D5CD6A #A7D56A
triadic
#D5CD6A #6AD5CD #CD6AD5
tetradic
#D5CD6A #6AD597 #6A72D5 #D56AA7
square
#D5CD6A #6AD597 #6A72D5 #D56AA7
split-complementary
#D5CD6A #6AA7D5 #976AD5
monochromatic
#99912B #C8BD3A #D5CD6A #E2DD9A #F0EDC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD6A#FFFFFF#000000##000000
##D5CD6A1.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)
#DCC761
Deuteranopia (green-blind)
#DFCC6F
Tritanopia (blue-blind)
#E2C2B6
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd6a;
/* rgb */ color: rgb(213, 205, 106);
/* oklch */ color: oklch(83.4% 0.122 104.6);
Tailwind
colors: {
  custom: {
    50: '#e4dc97',
    500: '#d5cd6a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd6a;
$custom-light: #e4dc97;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd6a",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 106
  },
  "hsl": {
    "h": 55.514,
    "s": 56.021,
    "l": 62.549
  },
  "oklch": {
    "l": 0.83441,
    "c": 0.12165,
    "h": 104.6
  },
  "luminance": 0.58849
}

Semantic roles & 50–950 ramp

primary
#D5CD6A
secondary
#454C9E
accent
#2EC422
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D5CD6A

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

Preview Lab → · Contrast checker → · Palette generator →

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