#D2CB79#D2CB79

#D2CB79 is a very light, moderate yellow. Relative luminance 0.578; OKLCH L 83.0% C 0.104 H 104.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D2CB79
RGBrgb(210, 203, 121)
HSLhsl(55, 50%, 65%)
HSVhsv(55, 42%, 82%)
CMYKcmyk(0%, 3.3%, 42.4%, 17.6%)
CIE-LABlab(80.62, -9.16, 41.67)
CIE-LCHlch(80.62, 42.67, 102.40°)
OKLaboklab(82.98% -0.0255 0.1009)
OKLCHoklch(82.98% 0.104 104.2)
XYZxyz(51.3865, 57.7954, 26.5342)
Luminance0.5779 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CB79 #7980D2
analogous
#D29F79 #D2CB79 #ACD279
triadic
#D2CB79 #79D2CB #CB79D2
tetradic
#D2CB79 #79D29F #7980D2 #D279AC
square
#D2CB79 #79D29F #7980D2 #D279AC
split-complementary
#D2CB79 #79ACD2 #9F79D2
monochromatic
#9C9434 #C3B94B #D2CB79 #E1DDA7 #F1EFD5

Accessibility & contrast

On white

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

On black

12.56
#D2CB79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CB79
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CB79#FFFFFF#000000##000000
##D2CB791.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C673
Deuteranopia (green-blind)
#DBCA7C
Tritanopia (blue-blind)
#DEC1B7
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cb79;
/* rgb */ color: rgb(210, 203, 121);
/* oklch */ color: oklch(83.0% 0.104 104.2);
Tailwind
colors: {
  custom: {
    50: '#e1daa1',
    500: '#d2cb79',
    950: '#000000',
  },
}
SCSS
$custom: #d2cb79;
$custom-light: #e1daa1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cb79",
  "rgb": {
    "r": 210,
    "g": 203,
    "b": 121
  },
  "hsl": {
    "h": 55.281,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.82978,
    "c": 0.10405,
    "h": 104.2
  },
  "luminance": 0.57794
}

Semantic roles & 50–950 ramp

primary
#D2CB79
secondary
#4E55A1
accent
#34BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140F
muted
#848380

Preview Lab

Preview with #D2CB79

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

Preview Lab → · Contrast checker → · Palette generator →

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