#D8CB37#D8CB37

#D8CB37 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.8% C 0.159 H 104.2°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D8CB37
RGBrgb(216, 203, 55)
HSLhsl(55, 67%, 53%)
HSVhsv(55, 75%, 85%)
CMYKcmyk(0%, 6%, 74.5%, 15.3%)
CIE-LABlab(80.51, -11.38, 70.30)
CIE-LCHlch(80.51, 71.22, 99.19°)
OKLaboklab(82.81% -0.039 0.1542)
OKLCHoklch(82.81% 0.159 104.2)
XYZxyz(50.3666, 57.5887, 12.0764)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB37 #3744D8
analogous
#D87A37 #D8CB37 #95D837
triadic
#D8CB37 #37D8CB #CB37D8
tetradic
#D8CB37 #37D87A #3744D8 #D83795
square
#D8CB37 #37D87A #3744D8 #D83795
split-complementary
#D8CB37 #3795D8 #7A37D8
monochromatic
#7C7418 #B0A422 #D8CB37 #E2D86A #ECE69D

Accessibility & contrast

On white

1.68
#D8CB37 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#D8CB37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB37
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB37#FFFFFF#000000##000000
##D8CB371.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC417
Deuteranopia (green-blind)
#E2CB42
Tritanopia (blue-blind)
#E8BDAF
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb37;
/* rgb */ color: rgb(216, 203, 55);
/* oklch */ color: oklch(82.8% 0.159 104.2);
Tailwind
colors: {
  custom: {
    50: '#e8da79',
    500: '#d8cb37',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb37;
$custom-light: #e8da79;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb37",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 55
  },
  "hsl": {
    "h": 55.155,
    "s": 67.364,
    "l": 53.137
  },
  "oklch": {
    "l": 0.82809,
    "c": 0.15905,
    "h": 104.2
  },
  "luminance": 0.57587
}

Semantic roles & 50–950 ramp

primary
#D8CB37
secondary
#2F3684
accent
#4BEA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8CB37

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

Preview Lab → · Contrast checker → · Palette generator →

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