#D8CD41#D8CD41

#D8CD41 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.3% C 0.155 H 104.8°. Best body text is #000000 at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#D8CD41
RGBrgb(216, 205, 65)
HSLhsl(56, 66%, 55%)
HSVhsv(56, 70%, 85%)
CMYKcmyk(0%, 5.1%, 69.9%, 15.3%)
CIE-LABlab(81.10, -11.94, 67.36)
CIE-LCHlch(81.10, 68.41, 100.05°)
OKLaboklab(83.29% -0.0396 0.1498)
OKLCHoklch(83.29% 0.155 104.8)
XYZxyz(51.1064, 58.6452, 13.6276)
Luminance0.5864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD41 #414CD8
analogous
#D88141 #D8CD41 #98D841
triadic
#D8CD41 #41D8CD #CD41D8
tetradic
#D8CD41 #41D881 #414CD8 #D84198
square
#D8CD41 #41D881 #414CD8 #D84198
split-complementary
#D8CD41 #4198D8 #8141D8
monochromatic
#847C1B #B6AC25 #D8CD41 #E2DA74 #EDE8A7

Accessibility & contrast

On white

1.65
#D8CD41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.73
#D8CD41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD41
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD41#FFFFFF#000000##000000
##D8CD411.001.6512.7312.73
#FFFFFF1.651.0021.0021.00
#00000012.7321.001.001.00
##00000012.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC62A
Deuteranopia (green-blind)
#E3CC4A
Tritanopia (blue-blind)
#E8BFB1
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cd41;
/* rgb */ color: rgb(216, 205, 65);
/* oklch */ color: oklch(83.3% 0.155 104.8);
Tailwind
colors: {
  custom: {
    50: '#e8db7e',
    500: '#d8cd41',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd41;
$custom-light: #e8db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd41",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 65
  },
  "hsl": {
    "h": 55.629,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83294,
    "c": 0.15491,
    "h": 104.8
  },
  "luminance": 0.58643
}

Semantic roles & 50–950 ramp

primary
#D8CD41
secondary
#33398A
accent
#4BE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17150A
muted
#85847D

Preview Lab

Preview with #D8CD41

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

Preview Lab → · Contrast checker → · Palette generator →

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