#D2CB71#D2CB71

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

Color values

HEX#D2CB71
RGBrgb(210, 203, 113)
HSLhsl(56, 52%, 63%)
HSVhsv(56, 46%, 82%)
CMYKcmyk(0%, 3.3%, 46.2%, 17.6%)
CIE-LABlab(80.52, -9.96, 45.51)
CIE-LCHlch(80.52, 46.58, 102.34°)
OKLaboklab(82.86% -0.0285 0.1089)
OKLCHoklch(82.86% 0.113 104.7)
XYZxyz(50.9161, 57.6072, 24.0568)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB71 #7178D2
analogous
#D29A71 #D2CB71 #A8D271
triadic
#D2CB71 #71D2CB #CB71D2
tetradic
#D2CB71 #71D29A #7178D2 #D271A8
square
#D2CB71 #71D29A #7178D2 #D271A8
split-complementary
#D2CB71 #71A8D2 #9A71D2
monochromatic
#989130 #C3BA43 #D2CB71 #E1DC9F #EFEDCE

Accessibility & contrast

On white

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

On black

12.52
#D2CB71 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB71
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB71#FFFFFF#000000##000000
##D2CB711.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cb71;
/* rgb */ color: rgb(210, 203, 113);
/* oklch */ color: oklch(82.9% 0.113 104.7);
Tailwind
colors: {
  custom: {
    50: '#e1da9b',
    500: '#d2cb71',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb71;
$custom-light: #e1da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb71",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 113
  },
  "hsl": {
    "h": 55.67,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82861,
    "c": 0.11259,
    "h": 104.7
  },
  "luminance": 0.57606
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2CB71

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

Preview Lab → · Contrast checker → · Palette generator →

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