#D8CB57#D8CB57

#D8CB57 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.137 H 102.9°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D8CB57
RGBrgb(216, 203, 87)
HSLhsl(54, 62%, 59%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 6%, 59.7%, 15.3%)
CIE-LABlab(80.74, -9.63, 58.05)
CIE-LCHlch(80.74, 58.84, 99.42°)
OKLaboklab(83.07% -0.0307 0.1334)
OKLCHoklch(83.07% 0.137 102.9)
XYZxyz(51.3970, 58.0008, 17.5029)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB57 #5764D8
analogous
#D88A57 #D8CB57 #A5D857
triadic
#D8CB57 #57D8CB #CB57D8
tetradic
#D8CB57 #57D88A #5764D8 #D857A5
square
#D8CB57 #57D88A #5764D8 #D857A5
split-complementary
#D8CB57 #57A5D8 #8A57D8
monochromatic
#938722 #C4B52E #D8CB57 #E4DA89 #EFEABA

Accessibility & contrast

On white

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

On black

12.60
#D8CB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB57
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB57#FFFFFF#000000##000000
##D8CB571.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cb57;
/* rgb */ color: rgb(216, 203, 87);
/* oklch */ color: oklch(83.1% 0.137 102.9);
Tailwind
colors: {
  custom: {
    50: '#e7da8b',
    500: '#d8cb57',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb57;
$custom-light: #e7da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb57",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 87
  },
  "hsl": {
    "h": 53.953,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.83065,
    "c": 0.13689,
    "h": 102.9
  },
  "luminance": 0.57999
}

Semantic roles & 50–950 ramp

primary
#D8CB57
secondary
#3C4598
accent
#53E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CB57

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

Preview Lab → · Contrast checker → · Palette generator →

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