#D5CB72#D5CB72

#D5CB72 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.112 H 102.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D5CB72
RGBrgb(213, 203, 114)
HSLhsl(54, 54%, 64%)
HSVhsv(54, 46%, 84%)
CMYKcmyk(0%, 4.7%, 46.5%, 16.5%)
CIE-LABlab(80.78, -8.65, 45.39)
CIE-LCHlch(80.78, 46.21, 100.79°)
OKLaboklab(83.13% -0.0248 0.1087)
OKLCHoklch(83.13% 0.112 102.8)
XYZxyz(51.8350, 58.0745, 24.3953)
Luminance0.5807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CB72 #727CD5
analogous
#D59A72 #D5CB72 #AED572
triadic
#D5CB72 #72D5CB #CB72D5
tetradic
#D5CB72 #72D59A #727CD5 #D572AE
square
#D5CB72 #72D59A #727CD5 #D572AE
split-complementary
#D5CB72 #72AED5 #9A72D5
monochromatic
#9E922F #C7BA43 #D5CB72 #E3DCA1 #F1EED0

Accessibility & contrast

On white

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

On black

12.61
#D5CB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CB72
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CB72#FFFFFF#000000##000000
##D5CB721.001.6612.6112.61
#FFFFFF1.661.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C66B
Deuteranopia (green-blind)
#DDCB76
Tritanopia (blue-blind)
#E2C0B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d5cb72;
/* rgb */ color: rgb(213, 203, 114);
/* oklch */ color: oklch(83.1% 0.112 102.8);
Tailwind
colors: {
  custom: {
    50: '#e4da9c',
    500: '#d5cb72',
    950: '#000000',
  },
}
SCSS
$custom: #d5cb72;
$custom-light: #e4da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cb72",
  "rgb": {
    "r": 213,
    "g": 203,
    "b": 114
  },
  "hsl": {
    "h": 53.939,
    "s": 54.098,
    "l": 64.118
  },
  "oklch": {
    "l": 0.83131,
    "c": 0.1115,
    "h": 102.8
  },
  "luminance": 0.58073
}

Semantic roles & 50–950 ramp

primary
#D5CB72
secondary
#4952A2
accent
#34C224
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D5CB72

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

Preview Lab → · Contrast checker → · Palette generator →

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