#D2CC70#D2CC70

#D2CC70 is a very light, moderate yellow. Relative luminance 0.581; OKLCH L 83.1% C 0.115 H 105.3°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D2CC70
RGBrgb(210, 204, 112)
HSLhsl(56, 52%, 63%)
HSVhsv(56, 47%, 82%)
CMYKcmyk(0%, 2.9%, 46.7%, 17.6%)
CIE-LABlab(80.77, -10.56, 46.30)
CIE-LCHlch(80.77, 47.49, 102.85°)
OKLaboklab(83.06% -0.0303 0.1106)
OKLCHoklch(83.06% 0.115 105.3)
XYZxyz(51.0970, 58.0586, 23.8409)
Luminance0.5806 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC70 #7076D2
analogous
#D29B70 #D2CC70 #A7D270
triadic
#D2CC70 #70D2CC #CC70D2
tetradic
#D2CC70 #70D29B #7076D2 #D270A7
square
#D2CC70 #70D29B #7076D2 #D270A7
split-complementary
#D2CC70 #70A7D2 #9B70D2
monochromatic
#989130 #C3BB41 #D2CC70 #E1DD9F #EFEDCD

Accessibility & contrast

On white

1.67
#D2CC70 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#D2CC70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC70
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC70#FFFFFF#000000##000000
##D2CC701.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC668
Deuteranopia (green-blind)
#DDCB74
Tritanopia (blue-blind)
#DEC1B6
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc70;
/* rgb */ color: rgb(210, 204, 112);
/* oklch */ color: oklch(83.1% 0.115 105.3);
Tailwind
colors: {
  custom: {
    50: '#e1db9b',
    500: '#d2cc70',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc70;
$custom-light: #e1db9b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc70",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 112
  },
  "hsl": {
    "h": 56.327,
    "s": 52.128,
    "l": 63.137
  },
  "oklch": {
    "l": 0.83056,
    "c": 0.11469,
    "h": 105.3
  },
  "luminance": 0.58057
}

Semantic roles & 50–950 ramp

primary
#D2CC70
secondary
#494E9D
accent
#2FC026
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2CC70

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

Preview Lab → · Contrast checker → · Palette generator →

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