#D8CC57#D8CC57

#D8CC57 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.138 H 103.5°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D8CC57
RGBrgb(216, 204, 87)
HSLhsl(54, 62%, 59%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 5.6%, 59.7%, 15.3%)
CIE-LABlab(81.00, -10.14, 58.34)
CIE-LCHlch(81.00, 59.21, 99.86°)
OKLaboklab(83.27% -0.0321 0.134)
OKLCHoklch(83.27% 0.138 103.5)
XYZxyz(51.6339, 58.4747, 17.5819)
Luminance0.5847 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC57 #5763D8
analogous
#D88C57 #D8CC57 #A3D857
triadic
#D8CC57 #57D8CC #CC57D8
tetradic
#D8CC57 #57D88C #5763D8 #D857A3
square
#D8CC57 #57D88C #5763D8 #D857A3
split-complementary
#D8CC57 #57A3D8 #8C57D8
monochromatic
#938822 #C4B62E #D8CC57 #E4DB89 #EFEABA

Accessibility & contrast

On white

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

On black

12.69
#D8CC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC57
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC57#FFFFFF#000000##000000
##D8CC571.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64A
Deuteranopia (green-blind)
#E1CC5D
Tritanopia (blue-blind)
#E7BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc57;
/* rgb */ color: rgb(216, 204, 87);
/* oklch */ color: oklch(83.3% 0.138 103.5);
Tailwind
colors: {
  custom: {
    50: '#e7db8b',
    500: '#d8cc57',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc57;
$custom-light: #e7db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc57",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 54.419,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83274,
    "c": 0.13782,
    "h": 103.5
  },
  "luminance": 0.58473
}

Semantic roles & 50–950 ramp

primary
#D8CC57
secondary
#3C4498
accent
#52E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CC57

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

Preview Lab → · Contrast checker → · Palette generator →

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