#D2CF80#D2CF80

#D2CF80 is a very light, moderate yellow. Relative luminance 0.599; OKLCH L 83.9% C 0.101 H 106.5°. Best body text is #000000 at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#D2CF80
RGBrgb(210, 207, 128)
HSLhsl(58, 48%, 66%)
HSVhsv(58, 39%, 82%)
CMYKcmyk(0%, 1.4%, 39%, 17.6%)
CIE-LABlab(81.78, -10.46, 39.61)
CIE-LCHlch(81.78, 40.97, 104.79°)
OKLaboklab(83.92% -0.0286 0.0966)
OKLCHoklch(83.92% 0.101 106.5)
XYZxyz(52.7882, 59.8870, 29.1965)
Luminance0.5989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF80 #8083D2
analogous
#D2A680 #D2CF80 #ACD280
triadic
#D2CF80 #80D2CF #CF80D2
tetradic
#D2CF80 #80D2A6 #8083D2 #D280AC
square
#D2CF80 #80D2A6 #8083D2 #D280AC
split-complementary
#D2CF80 #80ACD2 #A680D2
monochromatic
#9F9B38 #C2BE53 #D2CF80 #E2E0AD #F2F1DA

Accessibility & contrast

On white

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

On black

12.98
#D2CF80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF80
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF80#FFFFFF#000000##000000
##D2CF801.001.6212.9812.98
#FFFFFF1.621.0021.0021.00
#00000012.9821.001.001.00
##00000012.9821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cf80;
/* rgb */ color: rgb(210, 207, 128);
/* oklch */ color: oklch(83.9% 0.101 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1dda6',
    500: '#d2cf80',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf80;
$custom-light: #e1dda6;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf80",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 128
  },
  "hsl": {
    "h": 57.805,
    "s": 47.674,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83924,
    "c": 0.10075,
    "h": 106.5
  },
  "luminance": 0.59886
}

Semantic roles & 50–950 ramp

primary
#D2CF80
secondary
#5255A4
accent
#30BB2B
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#15150F
muted
#848480

Preview Lab

Preview with #D2CF80

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

Preview Lab → · Contrast checker → · Palette generator →

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