#D5CD7A#D5CD7A

#D5CD7A is a very light, moderate yellow. Relative luminance 0.592; OKLCH L 83.7% C 0.105 H 103.6°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#D5CD7A
RGBrgb(213, 205, 122)
HSLhsl(55, 52%, 66%)
HSVhsv(55, 43%, 84%)
CMYKcmyk(0%, 3.8%, 42.7%, 16.5%)
CIE-LABlab(81.41, -8.88, 42.21)
CIE-LCHlch(81.41, 43.13, 101.88°)
OKLaboklab(83.67% -0.0247 0.1021)
OKLCHoklch(83.67% 0.105 103.6)
XYZxyz(52.7858, 59.2154, 27.0577)
Luminance0.5921 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD7A #7A82D5
analogous
#D59F7A #D5CD7A #AFD57A
triadic
#D5CD7A #7AD5CD #CD7AD5
tetradic
#D5CD7A #7AD59F #7A82D5 #D57AAF
square
#D5CD7A #7AD59F #7A82D5 #D57AAF
split-complementary
#D5CD7A #7AAFD5 #9F7AD5
monochromatic
#A29833 #C6BC4B #D5CD7A #E4DEA9 #F2F0D7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD7A#FFFFFF#000000##000000
##D5CD7A1.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC873
Deuteranopia (green-blind)
#DDCC7E
Tritanopia (blue-blind)
#E1C3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cd7a;
/* rgb */ color: rgb(213, 205, 122);
/* oklch */ color: oklch(83.7% 0.105 103.6);
Tailwind
colors: {
  custom: {
    50: '#e3dca2',
    500: '#d5cd7a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd7a;
$custom-light: #e3dca2;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd7a",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 122
  },
  "hsl": {
    "h": 54.725,
    "s": 52,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83665,
    "c": 0.10507,
    "h": 103.6
  },
  "luminance": 0.59214
}

Semantic roles & 50–950 ramp

primary
#D5CD7A
secondary
#4D55A6
accent
#34BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CD7A

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

Preview Lab → · Contrast checker → · Palette generator →

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