#D2CF79#D2CF79

#D2CF79 is a very light, moderate yellow. Relative luminance 0.597; OKLCH L 83.8% C 0.108 H 106.8°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#D2CF79
RGBrgb(210, 207, 121)
HSLhsl(58, 50%, 65%)
HSVhsv(58, 42%, 82%)
CMYKcmyk(0%, 1.4%, 42.4%, 17.6%)
CIE-LABlab(81.68, -11.20, 42.99)
CIE-LCHlch(81.68, 44.43, 104.60°)
OKLaboklab(83.82% -0.0313 0.1039)
OKLCHoklch(83.82% 0.108 106.8)
XYZxyz(52.3433, 59.7090, 26.8531)
Luminance0.5971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF79 #797CD2
analogous
#D2A379 #D2CF79 #A8D279
triadic
#D2CF79 #79D2CF #CF79D2
tetradic
#D2CF79 #79D2A3 #797CD2 #D279A8
square
#D2CF79 #79D2A3 #797CD2 #D279A8
split-complementary
#D2CF79 #79A8D2 #A379D2
monochromatic
#9C9934 #C3BF4B #D2CF79 #E1DFA7 #F1F0D5

Accessibility & contrast

On white

1.62
#D2CF79 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#D2CF79 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF79
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF79#FFFFFF#000000##000000
##D2CF791.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC972
Deuteranopia (green-blind)
#DECD7D
Tritanopia (blue-blind)
#DEC5BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cf79;
/* rgb */ color: rgb(210, 207, 121);
/* oklch */ color: oklch(83.8% 0.108 106.8);
Tailwind
colors: {
  custom: {
    50: '#e1dda1',
    500: '#d2cf79',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf79;
$custom-light: #e1dda1;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf79",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 121
  },
  "hsl": {
    "h": 57.978,
    "s": 49.721,
    "l": 64.902
  },
  "oklch": {
    "l": 0.83816,
    "c": 0.10846,
    "h": 106.8
  },
  "luminance": 0.59708
}

Semantic roles & 50–950 ramp

primary
#D2CF79
secondary
#4E51A1
accent
#2DBD28
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CF79

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

Preview Lab → · Contrast checker → · Palette generator →

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