#D8CB41#D8CB41

#D8CB41 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.9% C 0.153 H 103.9°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#D8CB41
RGBrgb(216, 203, 65)
HSLhsl(55, 66%, 55%)
HSVhsv(55, 70%, 85%)
CMYKcmyk(0%, 6%, 69.9%, 15.3%)
CIE-LABlab(80.57, -10.93, 66.84)
CIE-LCHlch(80.57, 67.73, 99.28°)
OKLaboklab(82.88% -0.0367 0.1487)
OKLCHoklch(82.88% 0.153 103.9)
XYZxyz(50.6311, 57.6945, 13.4692)
Luminance0.5769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB41 #414ED8
analogous
#D87F41 #D8CB41 #9AD841
triadic
#D8CB41 #41D8CB #CB41D8
tetradic
#D8CB41 #41D87F #414ED8 #D8419A
square
#D8CB41 #41D87F #414ED8 #D8419A
split-complementary
#D8CB41 #419AD8 #7F41D8
monochromatic
#847B1B #B6AA25 #D8CB41 #E2D974 #EDE7A7

Accessibility & contrast

On white

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

On black

12.54
#D8CB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB41
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB41#FFFFFF#000000##000000
##D8CB411.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42B
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#E8BDB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb41;
/* rgb */ color: rgb(216, 203, 65);
/* oklch */ color: oklch(82.9% 0.153 103.9);
Tailwind
colors: {
  custom: {
    50: '#e8da7e',
    500: '#d8cb41',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb41;
$custom-light: #e8da7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb41",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 65
  },
  "hsl": {
    "h": 54.834,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82875,
    "c": 0.15314,
    "h": 103.9
  },
  "luminance": 0.57692
}

Semantic roles & 50–950 ramp

primary
#D8CB41
secondary
#333A8A
accent
#4EE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8CB41

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

Preview Lab → · Contrast checker → · Palette generator →

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