#D7CB72#D7CB72

#D7CB72 is a very light, moderate yellow. Relative luminance 0.584; OKLCH L 83.3% C 0.112 H 101.7°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D7CB72
RGBrgb(215, 203, 114)
HSLhsl(53, 56%, 65%)
HSVhsv(53, 47%, 84%)
CMYKcmyk(0%, 5.6%, 47%, 15.7%)
CIE-LABlab(80.95, -7.84, 45.63)
CIE-LCHlch(80.95, 46.30, 99.75°)
OKLaboklab(83.3% -0.0226 0.1092)
OKLCHoklch(83.3% 0.112 101.7)
XYZxyz(52.4189, 58.3755, 24.4227)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7CB72 #727ED7
analogous
#D79972 #D7CB72 #B1D772
triadic
#D7CB72 #72D7CB #CB72D7
tetradic
#D7CB72 #72D799 #727ED7 #D772B1
square
#D7CB72 #72D799 #727ED7 #D772B1
split-complementary
#D7CB72 #72B1D7 #9972D7
monochromatic
#A1932E #C9B942 #D7CB72 #E5DDA2 #F2EED1

Accessibility & contrast

On white

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

On black

12.67
#D7CB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D7CB72
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7CB72#FFFFFF#000000##000000
##D7CB721.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC66B
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#E4C0B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d7cb72;
/* rgb */ color: rgb(215, 203, 114);
/* oklch */ color: oklch(83.3% 0.112 101.7);
Tailwind
colors: {
  custom: {
    50: '#e5da9c',
    500: '#d7cb72',
    950: '#000000',
  },
}
SCSS
$custom: #d7cb72;
$custom-light: #e5da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d7cb72",
  "rgb": {
    "r": 215,
    "g": 203,
    "b": 114
  },
  "hsl": {
    "h": 52.871,
    "s": 55.801,
    "l": 64.51
  },
  "oklch": {
    "l": 0.83304,
    "c": 0.11153,
    "h": 101.7
  },
  "luminance": 0.58374
}

Semantic roles & 50–950 ramp

primary
#D7CB72
secondary
#4853A5
accent
#35C322
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D7CB72

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

Preview Lab → · Contrast checker → · Palette generator →

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