#D2CB70#D2CB70

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

Color values

HEX#D2CB70
RGBrgb(210, 203, 112)
HSLhsl(56, 52%, 63%)
HSVhsv(56, 47%, 82%)
CMYKcmyk(0%, 3.3%, 46.7%, 17.6%)
CIE-LABlab(80.51, -10.05, 45.98)
CIE-LCHlch(80.51, 47.07, 102.33°)
OKLaboklab(82.85% -0.0288 0.1099)
OKLCHoklch(82.85% 0.114 104.7)
XYZxyz(50.8601, 57.5848, 23.7619)
Luminance0.5758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB70 #7077D2
analogous
#D29A70 #D2CB70 #A8D270
triadic
#D2CB70 #70D2CB #CB70D2
tetradic
#D2CB70 #70D29A #7077D2 #D270A8
square
#D2CB70 #70D29A #7077D2 #D270A8
split-complementary
#D2CB70 #70A8D2 #9A70D2
monochromatic
#989030 #C3BA41 #D2CB70 #E1DC9F #EFEDCD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2CB70#FFFFFF#000000##000000
##D2CB701.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)
#D9C568
Deuteranopia (green-blind)
#DCCA74
Tritanopia (blue-blind)
#DFC0B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cb70;
/* rgb */ color: rgb(210, 203, 112);
/* oklch */ color: oklch(82.8% 0.114 104.7);
Tailwind
colors: {
  custom: {
    50: '#e1da9b',
    500: '#d2cb70',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb70;
$custom-light: #e1da9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb70",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 112
  },
  "hsl": {
    "h": 55.714,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.82847,
    "c": 0.11363,
    "h": 104.7
  },
  "luminance": 0.57583
}

Semantic roles & 50–950 ramp

primary
#D2CB70
secondary
#494F9D
accent
#31C026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D2CB70

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

Preview Lab → · Contrast checker → · Palette generator →

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