#D5CC7A#D5CC7A

#D5CC7A is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.5% C 0.104 H 102.9°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D5CC7A
RGBrgb(213, 204, 122)
HSLhsl(54, 52%, 66%)
HSVhsv(54, 43%, 84%)
CMYKcmyk(0%, 4.2%, 42.7%, 16.5%)
CIE-LABlab(81.15, -8.37, 41.88)
CIE-LCHlch(81.15, 42.71, 101.30°)
OKLaboklab(83.46% -0.0232 0.1014)
OKLCHoklch(83.46% 0.104 102.9)
XYZxyz(52.5474, 58.7385, 26.9782)
Luminance0.5874 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC7A #7A83D5
analogous
#D59E7A #D5CC7A #B0D57A
triadic
#D5CC7A #7AD5CC #CC7AD5
tetradic
#D5CC7A #7AD59E #7A83D5 #D57AB0
square
#D5CC7A #7AD59E #7A83D5 #D57AB0
split-complementary
#D5CC7A #7AB0D5 #9E7AD5
monochromatic
#A29733 #C6BA4B #D5CC7A #E4DEA9 #F2F0D7

Accessibility & contrast

On white

1.65
#D5CC7A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D5CC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC7A
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC7A#FFFFFF#000000##000000
##D5CC7A1.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C774
Deuteranopia (green-blind)
#DDCC7D
Tritanopia (blue-blind)
#E1C2B8
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d5cc7a;
/* rgb */ color: rgb(213, 204, 122);
/* oklch */ color: oklch(83.5% 0.104 102.9);
Tailwind
colors: {
  custom: {
    50: '#e3dba2',
    500: '#d5cc7a',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc7a;
$custom-light: #e3dba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc7a",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 122
  },
  "hsl": {
    "h": 54.066,
    "s": 52,
    "l": 65.686
  },
  "oklch": {
    "l": 0.83457,
    "c": 0.10401,
    "h": 102.9
  },
  "luminance": 0.58737
}

Semantic roles & 50–950 ramp

primary
#D5CC7A
secondary
#4D56A6
accent
#35BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150F
muted
#848480

Preview Lab

Preview with #D5CC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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