#D2CF66#D2CF66

#D2CF66 is a very light, vivid yellow. Relative luminance 0.593; OKLCH L 83.6% C 0.128 H 107.4°. Best body text is #000000 at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#D2CF66
RGBrgb(210, 207, 102)
HSLhsl(58, 55%, 61%)
HSVhsv(58, 51%, 82%)
CMYKcmyk(0%, 1.4%, 51.4%, 17.6%)
CIE-LABlab(81.45, -12.97, 51.90)
CIE-LCHlch(81.45, 53.49, 104.03°)
OKLaboklab(83.56% -0.0382 0.122)
OKLCHoklch(83.56% 0.128 107.4)
XYZxyz(51.2908, 59.2880, 21.3097)
Luminance0.5929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CF66 #6669D2
analogous
#D29966 #D2CF66 #9FD266
triadic
#D2CF66 #66D2CF #CF66D2
tetradic
#D2CF66 #66D299 #6669D2 #D2669F
square
#D2CF66 #66D299 #6669D2 #D2669F
split-complementary
#D2CF66 #669FD2 #9966D2
monochromatic
#93902B #C2BE39 #D2CF66 #E0DE95 #EEEDC5

Accessibility & contrast

On white

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

On black

12.86
#D2CF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CF66
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CF66#FFFFFF#000000##000000
##D2CF661.001.6312.8612.86
#FFFFFF1.631.0021.0021.00
#00000012.8621.001.001.00
##00000012.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2cf66;
/* rgb */ color: rgb(210, 207, 102);
/* oklch */ color: oklch(83.6% 0.128 107.4);
Tailwind
colors: {
  custom: {
    50: '#e2dd94',
    500: '#d2cf66',
    950: '#000000',
  },
}
SCSS
$custom: #d2cf66;
$custom-light: #e2dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cf66",
  "rgb": {
    "r": 210,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 58.333,
    "s": 54.545,
    "l": 61.176
  },
  "oklch": {
    "l": 0.83558,
    "c": 0.12786,
    "h": 107.4
  },
  "luminance": 0.59287
}

Semantic roles & 50–950 ramp

primary
#D2CF66
secondary
#444698
accent
#28C223
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2CF66

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

Preview Lab → · Contrast checker → · Palette generator →

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