#D2CF51#D2CF51

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

Color values

HEX#D2CF51
RGBrgb(210, 207, 81)
HSLhsl(59, 59%, 57%)
HSVhsv(59, 61%, 82%)
CMYKcmyk(0%, 1.4%, 61.4%, 17.6%)
CIE-LABlab(81.25, -14.54, 61.04)
CIE-LCHlch(81.25, 62.74, 103.40°)
OKLaboklab(83.33% -0.0449 0.1391)
OKLCHoklch(83.33% 0.146 107.9)
XYZxyz(50.3780, 58.9229, 16.5025)
Luminance0.5892 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF51 #5154D2
analogous
#D28F51 #D2CF51 #94D251
triadic
#D2CF51 #51D2CF #CF51D2
tetradic
#D2CF51 #51D28F #5154D2 #D25194
square
#D2CF51 #51D28F #5154D2 #D25194
split-complementary
#D2CF51 #5194D2 #8F51D2
monochromatic
#868423 #B7B32F #D2CF51 #DFDC82 #EBEAB2

Accessibility & contrast

On white

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

On black

12.78
#D2CF51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF51
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF51#FFFFFF#000000##000000
##D2CF511.001.6412.7812.78
#FFFFFF1.641.0021.0021.00
#00000012.7821.001.001.00
##00000012.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cf51;
/* rgb */ color: rgb(210, 207, 81);
/* oklch */ color: oklch(83.3% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#e3dd87',
    500: '#d2cf51',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf51;
$custom-light: #e3dd87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf51",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 81
  },
  "hsl": {
    "h": 58.605,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.83334,
    "c": 0.14616,
    "h": 107.9
  },
  "luminance": 0.58921
}

Semantic roles & 50–950 ramp

primary
#D2CF51
secondary
#3B3C8D
accent
#49E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CF51

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

Preview Lab → · Contrast checker → · Palette generator →

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