#D2CC79#D2CC79

#D2CC79 is a very light, moderate yellow. Relative luminance 0.583; OKLCH L 83.2% C 0.105 H 104.8°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#D2CC79
RGBrgb(210, 204, 121)
HSLhsl(56, 50%, 65%)
HSVhsv(56, 42%, 82%)
CMYKcmyk(0%, 2.9%, 42.4%, 17.6%)
CIE-LABlab(80.89, -9.67, 42.00)
CIE-LCHlch(80.89, 43.10, 102.97°)
OKLaboklab(83.19% -0.0269 0.1016)
OKLCHoklch(83.19% 0.105 104.8)
XYZxyz(51.6234, 58.2692, 26.6131)
Luminance0.5827 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC79 #797FD2
analogous
#D29F79 #D2CC79 #ACD279
triadic
#D2CC79 #79D2CC #CC79D2
tetradic
#D2CC79 #79D29F #797FD2 #D279AC
square
#D2CC79 #79D29F #797FD2 #D279AC
split-complementary
#D2CC79 #79ACD2 #9F79D2
monochromatic
#9C9534 #C3BB4B #D2CC79 #E1DDA7 #F1EFD5

Accessibility & contrast

On white

1.66
#D2CC79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#D2CC79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC79
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC79#FFFFFF#000000##000000
##D2CC791.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C672
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#DEC2B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2cc79;
/* rgb */ color: rgb(210, 204, 121);
/* oklch */ color: oklch(83.2% 0.105 104.8);
Tailwind
colors: {
  custom: {
    50: '#e1dba1',
    500: '#d2cc79',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc79;
$custom-light: #e1dba1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc79",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 121
  },
  "hsl": {
    "h": 55.955,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83187,
    "c": 0.10514,
    "h": 104.8
  },
  "luminance": 0.58268
}

Semantic roles & 50–950 ramp

primary
#D2CC79
secondary
#4E54A1
accent
#32BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CC79

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

Preview Lab → · Contrast checker → · Palette generator →

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