#D2CB72#D2CB72

#D2CB72 is a very light, moderate yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.112 H 104.6°. Best body text is #000000 at 12.53:1 contrast (WCAG AA passes).

Color values

HEX#D2CB72
RGBrgb(210, 203, 114)
HSLhsl(56, 52%, 64%)
HSVhsv(56, 46%, 82%)
CMYKcmyk(0%, 3.3%, 45.7%, 17.6%)
CIE-LABlab(80.53, -9.86, 45.03)
CIE-LCHlch(80.53, 46.10, 102.35°)
OKLaboklab(82.88% -0.0281 0.108)
OKLCHoklch(82.88% 0.112 104.6)
XYZxyz(50.9727, 57.6298, 24.3549)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB72 #7279D2
analogous
#D29B72 #D2CB72 #A9D272
triadic
#D2CB72 #72D2CB #CB72D2
tetradic
#D2CB72 #72D29B #7279D2 #D272A9
square
#D2CB72 #72D29B #7279D2 #D272A9
split-complementary
#D2CB72 #72A9D2 #9B72D2
monochromatic
#999131 #C3BA44 #D2CB72 #E1DCA0 #F0EDCF

Accessibility & contrast

On white

1.68
#D2CB72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.53
#D2CB72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB72
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB72#FFFFFF#000000##000000
##D2CB721.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C56B
Deuteranopia (green-blind)
#DCCA76
Tritanopia (blue-blind)
#DEC0B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cb72;
/* rgb */ color: rgb(210, 203, 114);
/* oklch */ color: oklch(82.9% 0.112 104.6);
Tailwind
colors: {
  custom: {
    50: '#e1da9c',
    500: '#d2cb72',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb72;
$custom-light: #e1da9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb72",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 114
  },
  "hsl": {
    "h": 55.625,
    "s": 51.613,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82875,
    "c": 0.11155,
    "h": 104.6
  },
  "luminance": 0.57628
}

Semantic roles & 50–950 ramp

primary
#D2CB72
secondary
#4A509E
accent
#32BF26
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CB72

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

Preview Lab → · Contrast checker → · Palette generator →

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