#D8CA56#D8CA56

#D8CA56 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.8% C 0.137 H 102.5°. Best body text is #000000 at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#D8CA56
RGBrgb(216, 202, 86)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 6.5%, 60.2%, 15.3%)
CIE-LABlab(80.47, -9.19, 58.19)
CIE-LCHlch(80.47, 58.91, 98.97°)
OKLaboklab(82.85% -0.0295 0.1336)
OKLCHoklch(82.85% 0.137 102.5)
XYZxyz(51.1210, 57.5138, 17.2108)
Luminance0.5751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA56 #5664D8
analogous
#D88956 #D8CA56 #A5D856
triadic
#D8CA56 #56D8CA #CA56D8
tetradic
#D8CA56 #56D889 #5664D8 #D856A5
square
#D8CA56 #56D889 #5664D8 #D856A5
split-complementary
#D8CA56 #56A5D8 #8956D8
monochromatic
#928622 #C4B32D #D8CA56 #E3DA88 #EFE9B9

Accessibility & contrast

On white

1.68
#D8CA56 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.50
#D8CA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA56
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA56#FFFFFF#000000##000000
##D8CA561.001.6812.5012.50
#FFFFFF1.681.0021.0021.00
#00000012.5021.001.001.00
##00000012.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC449
Deuteranopia (green-blind)
#DFCB5C
Tritanopia (blue-blind)
#E7BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca56;
/* rgb */ color: rgb(216, 202, 86);
/* oklch */ color: oklch(82.8% 0.137 102.5);
Tailwind
colors: {
  custom: {
    50: '#e7d98a',
    500: '#d8ca56',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca56;
$custom-light: #e7d98a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca56",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 53.538,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82846,
    "c": 0.1368,
    "h": 102.5
  },
  "luminance": 0.57512
}

Semantic roles & 50–950 ramp

primary
#D8CA56
secondary
#3B4597
accent
#54E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CA56

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

Preview Lab → · Contrast checker → · Palette generator →

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