#D8BD41#D8BD41

#D8BD41 is a light, vivid yellow. Relative luminance 0.514; OKLCH L 80.0% C 0.142 H 96.6°. Best body text is #000000 at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#D8BD41
RGBrgb(216, 189, 65)
HSLhsl(49, 66%, 55%)
HSVhsv(49, 70%, 85%)
CMYKcmyk(0%, 12.5%, 69.9%, 15.3%)
CIE-LABlab(76.91, -3.75, 63.20)
CIE-LCHlch(76.91, 63.31, 93.40°)
OKLaboklab(79.97% -0.0164 0.141)
OKLCHoklch(79.97% 0.142 96.6)
XYZxyz(47.4730, 51.3782, 12.4165)
Luminance0.5138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD41 #415CD8
analogous
#D87241 #D8BD41 #A7D841
triadic
#D8BD41 #41D8BD #BD41D8
tetradic
#D8BD41 #41D872 #415CD8 #D841A7
square
#D8BD41 #41D872 #415CD8 #D841A7
split-complementary
#D8BD41 #41A7D8 #7241D8
monochromatic
#84711B #B69C25 #D8BD41 #E2CF74 #EDE0A7

Accessibility & contrast

On white

1.86
#D8BD41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.28
#D8BD41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD41
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD41#FFFFFF#000000##000000
##D8BD411.001.8611.2811.28
#FFFFFF1.861.0021.0021.00
#00000011.2821.001.001.00
##00000011.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B92F
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#E9AFA4
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bd41;
/* rgb */ color: rgb(216, 189, 65);
/* oklch */ color: oklch(80.0% 0.142 96.6);
Tailwind
colors: {
  custom: {
    50: '#e8d07d',
    500: '#d8bd41',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd41;
$custom-light: #e8d07d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd41",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 65
  },
  "hsl": {
    "h": 49.272,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79969,
    "c": 0.14191,
    "h": 96.6
  },
  "luminance": 0.51376
}

Semantic roles & 50–950 ramp

primary
#D8BD41
secondary
#33438A
accent
#5DE93F
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D8BD41

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

Preview Lab → · Contrast checker → · Palette generator →

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