#D5CD82#D5CD82

#D5CD82 is a very light, moderate yellow. Relative luminance 0.594; OKLCH L 83.8% C 0.096 H 103.0°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#D5CD82
RGBrgb(213, 205, 130)
HSLhsl(54, 50%, 67%)
HSVhsv(54, 39%, 84%)
CMYKcmyk(0%, 3.8%, 39%, 16.5%)
CIE-LABlab(81.52, -8.03, 38.33)
CIE-LCHlch(81.52, 39.16, 101.84°)
OKLaboklab(83.79% -0.0216 0.0937)
OKLCHoklch(83.79% 0.096 103)
XYZxyz(53.3021, 59.4219, 29.7765)
Luminance0.5942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD82 #828AD5
analogous
#D5A482 #D5CD82 #B4D582
triadic
#D5CD82 #82D5CD #CD82D5
tetradic
#D5CD82 #82D5A4 #828AD5 #D582B4
square
#D5CD82 #82D5A4 #828AD5 #D582B4
split-complementary
#D5CD82 #82B4D5 #A482D5
monochromatic
#A59B37 #C6BB54 #D5CD82 #E4DFB0 #F4F2DE

Accessibility & contrast

On white

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

On black

12.88
#D5CD82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD82
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD82#FFFFFF#000000##000000
##D5CD821.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC87C
Deuteranopia (green-blind)
#DCCD85
Tritanopia (blue-blind)
#E0C4BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cd82;
/* rgb */ color: rgb(213, 205, 130);
/* oklch */ color: oklch(83.8% 0.096 103.0);
Tailwind
colors: {
  custom: {
    50: '#e3dca7',
    500: '#d5cd82',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd82;
$custom-light: #e3dca7;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd82",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 130
  },
  "hsl": {
    "h": 54.217,
    "s": 49.701,
    "l": 67.255
  },
  "oklch": {
    "l": 0.83791,
    "c": 0.0962,
    "h": 103
  },
  "luminance": 0.5942
}

Semantic roles & 50–950 ramp

primary
#D5CD82
secondary
#525AA9
accent
#37BD28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CD82

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

Preview Lab → · Contrast checker → · Palette generator →

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