#D8CF62#D8CF62

#D8CF62 is a very light, vivid yellow. Relative luminance 0.601; OKLCH L 84.0% C 0.131 H 104.5°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D8CF62
RGBrgb(216, 207, 98)
HSLhsl(55, 60%, 62%)
HSVhsv(55, 55%, 85%)
CMYKcmyk(0%, 4.2%, 54.6%, 15.3%)
CIE-LABlab(81.90, -10.85, 54.40)
CIE-LCHlch(81.90, 55.47, 101.28°)
OKLaboklab(84.02% -0.0329 0.1269)
OKLCHoklch(84.02% 0.131 104.5)
XYZxyz(52.8379, 60.1081, 20.3716)
Luminance0.6011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CF62 #626BD8
analogous
#D89462 #D8CF62 #A6D862
triadic
#D8CF62 #62D8CF #CF62D8
tetradic
#D8CF62 #62D894 #626BD8 #D862A6
square
#D8CF62 #62D894 #626BD8 #D862A6
split-complementary
#D8CF62 #62A6D8 #9462D8
monochromatic
#999126 #CABF32 #D8CF62 #E4DE93 #F0EDC4

Accessibility & contrast

On white

1.61
#D8CF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.02
#D8CF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CF62
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CF62#FFFFFF#000000##000000
##D8CF621.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#E2CE67
Tritanopia (blue-blind)
#E6C3B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cf62;
/* rgb */ color: rgb(216, 207, 98);
/* oklch */ color: oklch(84.0% 0.131 104.5);
Tailwind
colors: {
  custom: {
    50: '#e6dd92',
    500: '#d8cf62',
    950: '#000000',
  },
}
SCSS
$custom: #d8cf62;
$custom-light: #e6dd92;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cf62",
  "rgb": {
    "r": 216,
    "g": 207,
    "b": 98
  },
  "hsl": {
    "h": 55.424,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.84019,
    "c": 0.13111,
    "h": 104.5
  },
  "luminance": 0.60106
}

Semantic roles & 50–950 ramp

primary
#D8CF62
secondary
#40479E
accent
#2BC81E
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8CF62

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

Preview Lab → · Contrast checker → · Palette generator →

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