#D2CF82#D2CF82

#D2CF82 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 84.0% C 0.098 H 106.4°. Best body text is #000000 at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#D2CF82
RGBrgb(210, 207, 130)
HSLhsl(58, 47%, 67%)
HSVhsv(58, 38%, 82%)
CMYKcmyk(0%, 1.4%, 38.1%, 17.6%)
CIE-LABlab(81.81, -10.24, 38.64)
CIE-LCHlch(81.81, 39.97, 104.84°)
OKLaboklab(83.96% -0.0278 0.0945)
OKLCHoklch(83.96% 0.098 106.4)
XYZxyz(52.9212, 59.9401, 29.8966)
Luminance0.5994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF82 #8285D2
analogous
#D2A782 #D2CF82 #ADD282
triadic
#D2CF82 #82D2CF #CF82D2
tetradic
#D2CF82 #82D2A7 #8285D2 #D282AD
square
#D2CF82 #82D2A7 #8285D2 #D282AD
split-complementary
#D2CF82 #82ADD2 #A782D2
monochromatic
#A09C3A #C2BE55 #D2CF82 #E2E0AF #F2F2DC

Accessibility & contrast

On white

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

On black

12.99
#D2CF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF82
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF82#FFFFFF#000000##000000
##D2CF821.001.6212.9912.99
#FFFFFF1.621.0021.0021.00
#00000012.9921.001.001.00
##00000012.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC97C
Deuteranopia (green-blind)
#DDCD85
Tritanopia (blue-blind)
#DDC6BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2cf82;
/* rgb */ color: rgb(210, 207, 130);
/* oklch */ color: oklch(84.0% 0.098 106.4);
Tailwind
colors: {
  custom: {
    50: '#e1dda7',
    500: '#d2cf82',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf82;
$custom-light: #e1dda7;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf82",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 130
  },
  "hsl": {
    "h": 57.75,
    "s": 47.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.83957,
    "c": 0.09849,
    "h": 106.4
  },
  "luminance": 0.59939
}

Semantic roles & 50–950 ramp

primary
#D2CF82
secondary
#5356A5
accent
#31BA2B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CF82

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

Preview Lab → · Contrast checker → · Palette generator →

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