#D8CB56#D8CB56

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

Color values

HEX#D8CB56
RGBrgb(216, 203, 86)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 60%, 85%)
CMYKcmyk(0%, 6%, 60.2%, 15.3%)
CIE-LABlab(80.73, -9.70, 58.47)
CIE-LCHlch(80.73, 59.27, 99.41°)
OKLaboklab(83.06% -0.031 0.1342)
OKLCHoklch(83.06% 0.138 103)
XYZxyz(51.3564, 57.9846, 17.2892)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB56 #5663D8
analogous
#D88A56 #D8CB56 #A4D856
triadic
#D8CB56 #56D8CB #CB56D8
tetradic
#D8CB56 #56D88A #5663D8 #D856A4
square
#D8CB56 #56D88A #5663D8 #D856A4
split-complementary
#D8CB56 #56A4D8 #8A56D8
monochromatic
#928722 #C4B52D #D8CB56 #E3DA88 #EFEAB9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CB56#FFFFFF#000000##000000
##D8CB561.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)
#DCC549
Deuteranopia (green-blind)
#E0CB5C
Tritanopia (blue-blind)
#E7BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb56;
/* rgb */ color: rgb(216, 203, 86);
/* oklch */ color: oklch(83.1% 0.138 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7da8a',
    500: '#d8cb56',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb56;
$custom-light: #e7da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb56",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 86
  },
  "hsl": {
    "h": 54,
    "s": 62.5,
    "l": 59.216
  },
  "oklch": {
    "l": 0.83055,
    "c": 0.13772,
    "h": 103
  },
  "luminance": 0.57983
}

Semantic roles & 50–950 ramp

primary
#D8CB56
secondary
#3B4497
accent
#53E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CB56

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

Preview Lab → · Contrast checker → · Palette generator →

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