#D8CD57#D8CD57

#D8CD57 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.139 H 104.0°. Best body text is #000000 at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#D8CD57
RGBrgb(216, 205, 87)
HSLhsl(55, 62%, 59%)
HSVhsv(55, 60%, 85%)
CMYKcmyk(0%, 5.1%, 59.7%, 15.3%)
CIE-LABlab(81.26, -10.64, 58.62)
CIE-LCHlch(81.26, 59.58, 100.29°)
OKLaboklab(83.48% -0.0336 0.1347)
OKLCHoklch(83.48% 0.139 104)
XYZxyz(51.8723, 58.9515, 17.6614)
Luminance0.5895 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD57 #5762D8
analogous
#D88D57 #D8CD57 #A2D857
triadic
#D8CD57 #57D8CD #CD57D8
tetradic
#D8CD57 #57D88D #5762D8 #D857A2
square
#D8CD57 #57D88D #5762D8 #D857A2
split-complementary
#D8CD57 #57A2D8 #8D57D8
monochromatic
#938922 #C4B72E #D8CD57 #E4DC89 #EFEBBA

Accessibility & contrast

On white

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

On black

12.79
#D8CD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD57
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD57#FFFFFF#000000##000000
##D8CD571.001.6412.7912.79
#FFFFFF1.641.0021.0021.00
#00000012.7921.001.001.00
##00000012.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74A
Deuteranopia (green-blind)
#E1CD5D
Tritanopia (blue-blind)
#E7C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd57;
/* rgb */ color: rgb(216, 205, 87);
/* oklch */ color: oklch(83.5% 0.139 104.0);
Tailwind
colors: {
  custom: {
    50: '#e7dc8b',
    500: '#d8cd57',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd57;
$custom-light: #e7dc8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd57",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 87
  },
  "hsl": {
    "h": 54.884,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83483,
    "c": 0.13877,
    "h": 104
  },
  "luminance": 0.5895
}

Semantic roles & 50–950 ramp

primary
#D8CD57
secondary
#3C4398
accent
#50E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CD57

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

Preview Lab → · Contrast checker → · Palette generator →

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