#D2CF84#D2CF84

#D2CF84 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.0% C 0.096 H 106.3°. Best body text is #000000 at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#D2CF84
RGBrgb(210, 207, 132)
HSLhsl(58, 46%, 67%)
HSVhsv(58, 37%, 82%)
CMYKcmyk(0%, 1.4%, 37.1%, 17.6%)
CIE-LABlab(81.84, -10.01, 37.66)
CIE-LCHlch(81.84, 38.97, 104.89°)
OKLaboklab(83.99% -0.027 0.0923)
OKLCHoklch(83.99% 0.096 106.3)
XYZxyz(53.0567, 59.9944, 30.6105)
Luminance0.5999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF84 #8487D2
analogous
#D2A884 #D2CF84 #AED284
triadic
#D2CF84 #84D2CF #CF84D2
tetradic
#D2CF84 #84D2A8 #8487D2 #D284AE
square
#D2CF84 #84D2A8 #8487D2 #D284AE
split-complementary
#D2CF84 #84AED2 #A884D2
monochromatic
#A19D3B #C2BE57 #D2CF84 #E2E0B1 #F3F2DE

Accessibility & contrast

On white

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

On black

13.00
#D2CF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF84
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF84#FFFFFF#000000##000000
##D2CF841.001.6213.0013.00
#FFFFFF1.621.0021.0021.00
#00000013.0021.001.001.00
##00000013.0021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cf84;
/* rgb */ color: rgb(210, 207, 132);
/* oklch */ color: oklch(84.0% 0.096 106.3);
Tailwind
colors: {
  custom: {
    50: '#e1dda8',
    500: '#d2cf84',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf84;
$custom-light: #e1dda8;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf84",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 132
  },
  "hsl": {
    "h": 57.692,
    "s": 46.429,
    "l": 67.059
  },
  "oklch": {
    "l": 0.8399,
    "c": 0.09621,
    "h": 106.3
  },
  "luminance": 0.59993
}

Semantic roles & 50–950 ramp

primary
#D2CF84
secondary
#5458A6
accent
#31BA2C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#151510
muted
#848480

Preview Lab

Preview with #D2CF84

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

Preview Lab → · Contrast checker → · Palette generator →

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