#D2CB66#D2CB66

#D2CB66 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.7% C 0.124 H 105.2°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#D2CB66
RGBrgb(210, 203, 102)
HSLhsl(56, 55%, 61%)
HSVhsv(56, 51%, 82%)
CMYKcmyk(0%, 3.3%, 51.4%, 17.6%)
CIE-LABlab(80.39, -10.95, 50.65)
CIE-LCHlch(80.39, 51.82, 102.20°)
OKLaboklab(82.72% -0.0324 0.1193)
OKLCHoklch(82.72% 0.124 105.2)
XYZxyz(50.3339, 57.3743, 20.9907)
Luminance0.5737 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB66 #666DD2
analogous
#D29566 #D2CB66 #A3D266
triadic
#D2CB66 #66D2CB #CB66D2
tetradic
#D2CB66 #66D295 #666DD2 #D266A3
square
#D2CB66 #66D295 #666DD2 #D266A3
split-complementary
#D2CB66 #66A3D2 #9566D2
monochromatic
#938C2B #C2B939 #D2CB66 #E0DB95 #EEEBC5

Accessibility & contrast

On white

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

On black

12.47
#D2CB66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB66
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB66#FFFFFF#000000##000000
##D2CB661.001.6812.4712.47
#FFFFFF1.681.0021.0021.00
#00000012.4721.001.001.00
##00000012.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC55D
Deuteranopia (green-blind)
#DDCA6B
Tritanopia (blue-blind)
#DFC0B4
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cb66;
/* rgb */ color: rgb(210, 203, 102);
/* oklch */ color: oklch(82.7% 0.124 105.2);
Tailwind
colors: {
  custom: {
    50: '#e2da94',
    500: '#d2cb66',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb66;
$custom-light: #e2da94;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb66",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 102
  },
  "hsl": {
    "h": 56.111,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.82715,
    "c": 0.12365,
    "h": 105.2
  },
  "luminance": 0.57373
}

Semantic roles & 50–950 ramp

primary
#D2CB66
secondary
#444A98
accent
#2EC223
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D2CB66

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

Preview Lab → · Contrast checker → · Palette generator →

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