#D8CD61#D8CD61

#D8CD61 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.6% C 0.130 H 103.5°. Best body text is #000000 at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#D8CD61
RGBrgb(216, 205, 97)
HSLhsl(54, 60%, 61%)
HSVhsv(54, 55%, 85%)
CMYKcmyk(0%, 5.1%, 55.1%, 15.3%)
CIE-LABlab(81.36, -9.91, 54.24)
CIE-LCHlch(81.36, 55.14, 100.35°)
OKLaboklab(83.59% -0.0303 0.1265)
OKLCHoklch(83.59% 0.13 103.5)
XYZxyz(52.3096, 59.1264, 19.9640)
Luminance0.5913 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD61 #616CD8
analogous
#D89261 #D8CD61 #A8D861
triadic
#D8CD61 #61D8CD #CD61D8
tetradic
#D8CD61 #61D892 #616CD8 #D861A8
square
#D8CD61 #61D892 #616CD8 #D861A8
split-complementary
#D8CD61 #61A8D8 #9261D8
monochromatic
#998E26 #CABC32 #D8CD61 #E4DD92 #F0ECC3

Accessibility & contrast

On white

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

On black

12.83
#D8CD61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD61
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD61#FFFFFF#000000##000000
##D8CD611.001.6412.8312.83
#FFFFFF1.641.0021.0021.00
#00000012.8321.001.001.00
##00000012.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC756
Deuteranopia (green-blind)
#E1CD66
Tritanopia (blue-blind)
#E6C1B5
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd61;
/* rgb */ color: rgb(216, 205, 97);
/* oklch */ color: oklch(83.6% 0.130 103.5);
Tailwind
colors: {
  custom: {
    50: '#e6dc91',
    500: '#d8cd61',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd61;
$custom-light: #e6dc91;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd61",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 97
  },
  "hsl": {
    "h": 54.454,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.8359,
    "c": 0.13006,
    "h": 103.5
  },
  "luminance": 0.59125
}

Semantic roles & 50–950 ramp

primary
#D8CD61
secondary
#40489D
accent
#2DC81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D8CD61

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

Preview Lab → · Contrast checker → · Palette generator →

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