#D2CD79#D2CD79

#D2CD79 is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.4% C 0.106 H 105.5°. Best body text is #000000 at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#D2CD79
RGBrgb(210, 205, 121)
HSLhsl(57, 50%, 65%)
HSVhsv(57, 42%, 82%)
CMYKcmyk(0%, 2.4%, 42.4%, 17.6%)
CIE-LABlab(81.15, -10.18, 42.33)
CIE-LCHlch(81.15, 43.54, 103.52°)
OKLaboklab(83.4% -0.0284 0.1024)
OKLCHoklch(83.4% 0.106 105.5)
XYZxyz(51.8618, 58.7461, 26.6926)
Luminance0.5875 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD79 #797ED2
analogous
#D2A079 #D2CD79 #ABD279
triadic
#D2CD79 #79D2CD #CD79D2
tetradic
#D2CD79 #79D2A0 #797ED2 #D279AB
square
#D2CD79 #79D2A0 #797ED2 #D279AB
split-complementary
#D2CD79 #79ABD2 #A079D2
monochromatic
#9C9634 #C3BC4B #D2CD79 #E1DEA7 #F1EFD5

Accessibility & contrast

On white

1.65
#D2CD79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.75
#D2CD79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD79
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD79#FFFFFF#000000##000000
##D2CD791.001.6512.7512.75
#FFFFFF1.651.0021.0021.00
#00000012.7521.001.001.00
##00000012.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC772
Deuteranopia (green-blind)
#DCCB7D
Tritanopia (blue-blind)
#DEC3B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cd79;
/* rgb */ color: rgb(210, 205, 121);
/* oklch */ color: oklch(83.4% 0.106 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1dca1',
    500: '#d2cd79',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd79;
$custom-light: #e1dca1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd79",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 121
  },
  "hsl": {
    "h": 56.629,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83397,
    "c": 0.10623,
    "h": 105.5
  },
  "luminance": 0.58745
}

Semantic roles & 50–950 ramp

primary
#D2CD79
secondary
#4E53A1
accent
#31BD28
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CD79

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

Preview Lab → · Contrast checker → · Palette generator →

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