#D2CB5C#D2CB5C

#D2CB5C is a very light, vivid yellow. Relative luminance 0.572; OKLCH L 82.6% C 0.133 H 105.6°. Best body text is #000000 at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#D2CB5C
RGBrgb(210, 203, 92)
HSLhsl(56, 57%, 59%)
HSVhsv(56, 56%, 82%)
CMYKcmyk(0%, 3.3%, 56.2%, 17.6%)
CIE-LABlab(80.29, -11.75, 55.17)
CIE-LCHlch(80.29, 56.40, 102.03°)
OKLaboklab(82.6% -0.0358 0.128)
OKLCHoklch(82.6% 0.133 105.6)
XYZxyz(49.8676, 57.1878, 18.5346)
Luminance0.5719 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB5C #5C63D2
analogous
#D2905C #D2CB5C #9ED25C
triadic
#D2CB5C #5CD2CB #CB5CD2
tetradic
#D2CB5C #5CD290 #5C63D2 #D25C9E
square
#D2CB5C #5CD290 #5C63D2 #D25C9E
split-complementary
#D2CB5C #5C9ED2 #905CD2
monochromatic
#8D8727 #BDB534 #D2CB5C #DFDA8C #ECEABC

Accessibility & contrast

On white

1.69
#D2CB5C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.44
#D2CB5C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB5C
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB5C#FFFFFF#000000##000000
##D2CB5C1.001.6912.4412.44
#FFFFFF1.691.0021.0021.00
#00000012.4421.001.001.00
##00000012.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC451
Deuteranopia (green-blind)
#DDC962
Tritanopia (blue-blind)
#E0BFB3
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb5c;
/* rgb */ color: rgb(210, 203, 92);
/* oklch */ color: oklch(82.6% 0.133 105.6);
Tailwind
colors: {
  custom: {
    50: '#e2da8e',
    500: '#d2cb5c',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb5c;
$custom-light: #e2da8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb5c",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 92
  },
  "hsl": {
    "h": 56.441,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82598,
    "c": 0.13292,
    "h": 105.6
  },
  "luminance": 0.57186
}

Semantic roles & 50–950 ramp

primary
#D2CB5C
secondary
#3F4493
accent
#51E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CB5C

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

Preview Lab → · Contrast checker → · Palette generator →

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