#D2CF64#D2CF64

#D2CF64 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.130 H 107.4°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#D2CF64
RGBrgb(210, 207, 100)
HSLhsl(58, 55%, 61%)
HSVhsv(58, 52%, 82%)
CMYKcmyk(0%, 1.4%, 52.4%, 17.6%)
CIE-LABlab(81.43, -13.14, 52.81)
CIE-LCHlch(81.43, 54.42, 103.97°)
OKLaboklab(83.53% -0.0389 0.1238)
OKLCHoklch(83.53% 0.13 107.4)
XYZxyz(51.1928, 59.2488, 20.7936)
Luminance0.5925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF64 #6467D2
analogous
#D29864 #D2CF64 #9ED264
triadic
#D2CF64 #64D2CF #CF64D2
tetradic
#D2CF64 #64D298 #6467D2 #D2649E
square
#D2CF64 #64D298 #6467D2 #D2649E
split-complementary
#D2CF64 #649ED2 #9864D2
monochromatic
#918F2A #C1BD38 #D2CF64 #E0DE93 #EEECC3

Accessibility & contrast

On white

1.63
#D2CF64 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.85
#D2CF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF64
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF64#FFFFFF#000000##000000
##D2CF641.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC85A
Deuteranopia (green-blind)
#E0CC69
Tritanopia (blue-blind)
#DFC4B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d2cf64;
/* rgb */ color: rgb(210, 207, 100);
/* oklch */ color: oklch(83.5% 0.130 107.4);
Tailwind
colors: {
  custom: {
    50: '#e2dd93',
    500: '#d2cf64',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf64;
$custom-light: #e2dd93;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf64",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 100
  },
  "hsl": {
    "h": 58.364,
    "s": 55,
    "l": 60.784
  },
  "oklch": {
    "l": 0.83534,
    "c": 0.12976,
    "h": 107.4
  },
  "luminance": 0.59247
}

Semantic roles & 50–950 ramp

primary
#D2CF64
secondary
#434597
accent
#27C323
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CF64

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

Preview Lab → · Contrast checker → · Palette generator →

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