#D8CB55#D8CB55

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

Color values

HEX#D8CB55
RGBrgb(216, 203, 85)
HSLhsl(54, 63%, 59%)
HSVhsv(54, 61%, 85%)
CMYKcmyk(0%, 6%, 60.6%, 15.3%)
CIE-LABlab(80.72, -9.76, 58.90)
CIE-LCHlch(80.72, 59.70, 99.41°)
OKLaboklab(83.05% -0.0313 0.135)
OKLCHoklch(83.05% 0.139 103)
XYZxyz(51.3164, 57.9686, 17.0785)
Luminance0.5797 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB55 #5562D8
analogous
#D88A55 #D8CB55 #A4D855
triadic
#D8CB55 #55D8CB #CB55D8
tetradic
#D8CB55 #55D88A #5562D8 #D855A4
square
#D8CB55 #55D88A #5562D8 #D855A4
split-complementary
#D8CB55 #55A4D8 #8A55D8
monochromatic
#918621 #C3B42D #D8CB55 #E3DA87 #EFE9B9

Accessibility & contrast

On white

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

On black

12.59
#D8CB55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB55
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB55#FFFFFF#000000##000000
##D8CB551.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8cb55;
/* rgb */ color: rgb(216, 203, 85);
/* oklch */ color: oklch(83.0% 0.139 103.0);
Tailwind
colors: {
  custom: {
    50: '#e7da89',
    500: '#d8cb55',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb55;
$custom-light: #e7da89;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb55",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 85
  },
  "hsl": {
    "h": 54.046,
    "s": 62.679,
    "l": 59.02
  },
  "oklch": {
    "l": 0.83045,
    "c": 0.13854,
    "h": 103
  },
  "luminance": 0.57967
}

Semantic roles & 50–950 ramp

primary
#D8CB55
secondary
#3B4496
accent
#52E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CB55

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

Preview Lab → · Contrast checker → · Palette generator →

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