#D2CF52#D2CF52

#D2CF52 is a very light, vivid yellow. Relative luminance 0.589; OKLCH L 83.3% C 0.145 H 107.9°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D2CF52
RGBrgb(210, 207, 82)
HSLhsl(59, 59%, 57%)
HSVhsv(59, 61%, 82%)
CMYKcmyk(0%, 1.4%, 61%, 17.6%)
CIE-LABlab(81.26, -14.47, 60.63)
CIE-LCHlch(81.26, 62.33, 103.42°)
OKLaboklab(83.34% -0.0446 0.1384)
OKLCHoklch(83.34% 0.145 107.9)
XYZxyz(50.4158, 58.9380, 16.7014)
Luminance0.5894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF52 #5255D2
analogous
#D28F52 #D2CF52 #95D252
triadic
#D2CF52 #52D2CF #CF52D2
tetradic
#D2CF52 #52D28F #5255D2 #D25295
square
#D2CF52 #52D28F #5255D2 #D25295
split-complementary
#D2CF52 #5295D2 #8F52D2
monochromatic
#878423 #B7B430 #D2CF52 #DFDC83 #EBEAB3

Accessibility & contrast

On white

1.64
#D2CF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.79
#D2CF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF52
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF52#FFFFFF#000000##000000
##D2CF521.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC743
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#E0C3B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf52;
/* rgb */ color: rgb(210, 207, 82);
/* oklch */ color: oklch(83.3% 0.145 107.9);
Tailwind
colors: {
  custom: {
    50: '#e3dd88',
    500: '#d2cf52',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf52;
$custom-light: #e3dd88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf52",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 82
  },
  "hsl": {
    "h": 58.594,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83343,
    "c": 0.14537,
    "h": 107.9
  },
  "luminance": 0.58936
}

Semantic roles & 50–950 ramp

primary
#D2CF52
secondary
#3B3D8D
accent
#4AE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CF52

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

Preview Lab → · Contrast checker → · Palette generator →

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