#D8CA61#D8CA61

#D8CA61 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 83.0% C 0.127 H 101.8°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D8CA61
RGBrgb(216, 202, 97)
HSLhsl(53, 60%, 61%)
HSVhsv(53, 55%, 85%)
CMYKcmyk(0%, 6.5%, 55.1%, 15.3%)
CIE-LABlab(80.57, -8.38, 53.34)
CIE-LCHlch(80.57, 53.99, 98.93°)
OKLaboklab(82.97% -0.026 0.1245)
OKLCHoklch(82.97% 0.127 101.8)
XYZxyz(51.5988, 57.7049, 19.7271)
Luminance0.5770 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA61 #616FD8
analogous
#D88F61 #D8CA61 #ABD861
triadic
#D8CA61 #61D8CA #CA61D8
tetradic
#D8CA61 #61D88F #616FD8 #D861AB
square
#D8CA61 #61D88F #616FD8 #D861AB
split-complementary
#D8CA61 #61ABD8 #8F61D8
monochromatic
#998B26 #CAB832 #D8CA61 #E4DA92 #F0EBC3

Accessibility & contrast

On white

1.67
#D8CA61 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#D8CA61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA61
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA61#FFFFFF#000000##000000
##D8CA611.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC457
Deuteranopia (green-blind)
#DECB66
Tritanopia (blue-blind)
#E7BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca61;
/* rgb */ color: rgb(216, 202, 97);
/* oklch */ color: oklch(83.0% 0.127 101.8);
Tailwind
colors: {
  custom: {
    50: '#e6d991',
    500: '#d8ca61',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca61;
$custom-light: #e6d991;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca61",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 97
  },
  "hsl": {
    "h": 52.941,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.82965,
    "c": 0.1272,
    "h": 101.8
  },
  "luminance": 0.57703
}

Semantic roles & 50–950 ramp

primary
#D8CA61
secondary
#404B9D
accent
#31C81D
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8CA61

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

Preview Lab → · Contrast checker → · Palette generator →

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