#D8CA84#D8CA84

#D8CA84 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.091 H 98.3°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D8CA84
RGBrgb(216, 202, 132)
HSLhsl(50, 52%, 68%)
HSVhsv(50, 39%, 85%)
CMYKcmyk(0%, 6.5%, 38.9%, 15.3%)
CIE-LABlab(81.02, -5.09, 36.71)
CIE-LCHlch(81.02, 37.06, 97.89°)
OKLaboklab(83.46% -0.0131 0.0901)
OKLCHoklch(83.46% 0.091 98.3)
XYZxyz(53.6053, 58.5075, 30.2947)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA84 #8492D8
analogous
#D8A084 #D8CA84 #BCD884
triadic
#D8CA84 #84D8CA #CA84D8
tetradic
#D8CA84 #84D8A0 #8492D8 #D884BC
square
#D8CA84 #84D8A0 #8492D8 #D884BC
split-complementary
#D8CA84 #84BCD8 #A084D8
monochromatic
#AB9836 #C9B656 #D8CA84 #E7DEB2 #F5F2E1

Accessibility & contrast

On white

1.65
#D8CA84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#D8CA84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA84
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA84#FFFFFF#000000##000000
##D8CA841.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67F
Deuteranopia (green-blind)
#DBCB87
Tritanopia (blue-blind)
#E4C0B8
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8ca84;
/* rgb */ color: rgb(216, 202, 132);
/* oklch */ color: oklch(83.5% 0.091 98.3);
Tailwind
colors: {
  custom: {
    50: '#e5daa8',
    500: '#d8ca84',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca84;
$custom-light: #e5daa8;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca84",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 132
  },
  "hsl": {
    "h": 50,
    "s": 51.852,
    "l": 68.235
  },
  "oklch": {
    "l": 0.83463,
    "c": 0.09105,
    "h": 98.3
  },
  "luminance": 0.58506
}

Semantic roles & 50–950 ramp

primary
#D8CA84
secondary
#5261AE
accent
#40BF26
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#161410
muted
#848380

Preview Lab

Preview with #D8CA84

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

Preview Lab → · Contrast checker → · Palette generator →

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