#D7CA85#D7CA85

#D7CA85 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.4% C 0.090 H 98.8°. Best body text is #000000 at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#D7CA85
RGBrgb(215, 202, 133)
HSLhsl(50, 51%, 68%)
HSVhsv(50, 38%, 84%)
CMYKcmyk(0%, 6%, 38.1%, 15.7%)
CIE-LABlab(80.95, -5.37, 36.09)
CIE-LCHlch(80.95, 36.49, 98.46°)
OKLaboklab(83.39% -0.0138 0.0887)
OKLCHoklch(83.39% 0.09 98.8)
XYZxyz(53.3795, 58.3831, 30.6430)
Luminance0.5838 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CA85 #8592D7
analogous
#D7A185 #D7CA85 #BBD785
triadic
#D7CA85 #85D7CA #CA85D7
tetradic
#D7CA85 #85D7A1 #8592D7 #D785BB
square
#D7CA85 #85D7A1 #8592D7 #D785BB
split-complementary
#D7CA85 #85BBD7 #A185D7
monochromatic
#AA9838 #C8B657 #D7CA85 #E6DEB3 #F5F2E1

Accessibility & contrast

On white

1.66
#D7CA85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.68
#D7CA85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CA85
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CA85#FFFFFF#000000##000000
##D7CA851.001.6612.6812.68
#FFFFFF1.661.0021.0021.00
#00000012.6821.001.001.00
##00000012.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C680
Deuteranopia (green-blind)
#DACB88
Tritanopia (blue-blind)
#E3C1B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7ca85;
/* rgb */ color: rgb(215, 202, 133);
/* oklch */ color: oklch(83.4% 0.090 98.8);
Tailwind
colors: {
  custom: {
    50: '#e4daa9',
    500: '#d7ca85',
    950: '#000000',
  },
}
SCSS
$custom: #d7ca85;
$custom-light: #e4daa9;
$custom-dark: #000000;
JSON
{
  "hex": "#d7ca85",
  "rgb": {
    "r": 215,
    "g": 202,
    "b": 133
  },
  "hsl": {
    "h": 50.488,
    "s": 50.617,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83393,
    "c": 0.08979,
    "h": 98.8
  },
  "luminance": 0.58382
}

Semantic roles & 50–950 ramp

primary
#D7CA85
secondary
#5361AD
accent
#3FBE28
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#161410
muted
#848380

Preview Lab

Preview with #D7CA85

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

Preview Lab → · Contrast checker → · Palette generator →

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