#D8BA41#D8BA41

#D8BA41 is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.4% C 0.140 H 94.9°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#D8BA41
RGBrgb(216, 186, 65)
HSLhsl(48, 66%, 55%)
HSVhsv(48, 70%, 85%)
CMYKcmyk(0%, 13.9%, 69.9%, 15.3%)
CIE-LABlab(76.13, -2.19, 62.42)
CIE-LCHlch(76.13, 62.46, 92.01°)
OKLaboklab(79.36% -0.0119 0.1393)
OKLCHoklch(79.36% 0.14 94.9)
XYZxyz(46.8343, 50.1009, 12.2036)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA41 #415FD8
analogous
#D86E41 #D8BA41 #ABD841
triadic
#D8BA41 #41D8BA #BA41D8
tetradic
#D8BA41 #41D86E #415FD8 #D841AB
square
#D8BA41 #41D86E #415FD8 #D841AB
split-complementary
#D8BA41 #41ABD8 #6E41D8
monochromatic
#846F1B #B69A25 #D8BA41 #E2CC74 #EDDFA7

Accessibility & contrast

On white

1.91
#D8BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#D8BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA41
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA41#FFFFFF#000000##000000
##D8BA411.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB630
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#E9ACA1
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba41;
/* rgb */ color: rgb(216, 186, 65);
/* oklch */ color: oklch(79.4% 0.140 94.9);
Tailwind
colors: {
  custom: {
    50: '#e8ce7c',
    500: '#d8ba41',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba41;
$custom-light: #e8ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba41",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 48.079,
    "s": 65.939,
    "l": 55.098
  },
  "oklch": {
    "l": 0.79355,
    "c": 0.13982,
    "h": 94.9
  },
  "luminance": 0.50098
}

Semantic roles & 50–950 ramp

primary
#D8BA41
secondary
#33448A
accent
#61E93F
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D8BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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