#D7CD81#D7CD81

#D7CD81 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.9% C 0.097 H 101.7°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D7CD81
RGBrgb(215, 205, 129)
HSLhsl(53, 52%, 67%)
HSVhsv(53, 40%, 84%)
CMYKcmyk(0%, 4.7%, 40%, 15.7%)
CIE-LABlab(81.67, -7.35, 39.06)
CIE-LCHlch(81.67, 39.74, 100.66°)
OKLaboklab(83.95% -0.0198 0.0953)
OKLCHoklch(83.95% 0.097 101.7)
XYZxyz(53.8191, 59.6962, 29.4521)
Luminance0.5969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CD81 #818BD7
analogous
#D7A281 #D7CD81 #B6D781
triadic
#D7CD81 #81D7CD #CD81D7
tetradic
#D7CD81 #81D7A2 #818BD7 #D781B6
square
#D7CD81 #81D7A2 #818BD7 #D781B6
split-complementary
#D7CD81 #81B6D7 #A281D7
monochromatic
#A89B35 #C8BB53 #D7CD81 #E6DFAF #F4F2DE

Accessibility & contrast

On white

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

On black

12.94
#D7CD81 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CD81
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CD81#FFFFFF#000000##000000
##D7CD811.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC87B
Deuteranopia (green-blind)
#DDCD84
Tritanopia (blue-blind)
#E3C3BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d7cd81;
/* rgb */ color: rgb(215, 205, 129);
/* oklch */ color: oklch(83.9% 0.097 101.7);
Tailwind
colors: {
  custom: {
    50: '#e4dca6',
    500: '#d7cd81',
    950: '#000000',
  },
}
SCSS
$custom: #d7cd81;
$custom-light: #e4dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cd81",
  "rgb": {
    "r": 215,
    "g": 205,
    "b": 129
  },
  "hsl": {
    "h": 53.023,
    "s": 51.807,
    "l": 67.451
  },
  "oklch": {
    "l": 0.83945,
    "c": 0.09738,
    "h": 101.7
  },
  "luminance": 0.59695
}

Semantic roles & 50–950 ramp

primary
#D7CD81
secondary
#505BAC
accent
#38BF26
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#16150F
muted
#848480

Preview Lab

Preview with #D7CD81

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

Preview Lab → · Contrast checker → · Palette generator →

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