#D5CD92#D5CD92

#D5CD92 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.1% C 0.077 H 101.3°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D5CD92
RGBrgb(213, 205, 146)
HSLhsl(53, 44%, 70%)
HSVhsv(53, 31%, 84%)
CMYKcmyk(0%, 3.8%, 31.5%, 16.5%)
CIE-LABlab(81.78, -6.16, 30.44)
CIE-LCHlch(81.78, 31.05, 101.44°)
OKLaboklab(84.07% -0.0152 0.076)
OKLCHoklch(84.07% 0.077 101.3)
XYZxyz(54.4607, 59.8853, 35.8787)
Luminance0.5988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD92 #929AD5
analogous
#D5AB92 #D5CD92 #BBD592
triadic
#D5CD92 #92D5CD #CD92D5
tetradic
#D5CD92 #92D5AB #929AD5 #D592BB
square
#D5CD92 #92D5AB #929AD5 #D592BB
split-complementary
#D5CD92 #92BBD5 #AB92D5
monochromatic
#AB9E42 #C4B966 #D5CD92 #E6E1BE #F6F5E9

Accessibility & contrast

On white

1.62
#D5CD92 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.98
#D5CD92 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD92
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD92#FFFFFF#000000##000000
##D5CD921.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C98E
Deuteranopia (green-blind)
#DACD94
Tritanopia (blue-blind)
#DFC5BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cd92;
/* rgb */ color: rgb(213, 205, 146);
/* oklch */ color: oklch(84.1% 0.077 101.3);
Tailwind
colors: {
  custom: {
    50: '#e2dcb2',
    500: '#d5cd92',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd92;
$custom-light: #e2dcb2;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd92",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 146
  },
  "hsl": {
    "h": 52.836,
    "s": 44.371,
    "l": 70.392
  },
  "oklch": {
    "l": 0.84074,
    "c": 0.07748,
    "h": 101.3
  },
  "luminance": 0.59884
}

Semantic roles & 50–950 ramp

primary
#D5CD92
secondary
#6069AB
accent
#3EB82E
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5CD92

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

Preview Lab → · Contrast checker → · Palette generator →

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