#D8BA4B#D8BA4B

#D8BA4B is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.4% C 0.133 H 94.0°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D8BA4B
RGBrgb(216, 186, 75)
HSLhsl(47, 64%, 57%)
HSVhsv(47, 65%, 85%)
CMYKcmyk(0%, 13.9%, 65.3%, 15.3%)
CIE-LABlab(76.21, -1.64, 58.36)
CIE-LCHlch(76.21, 58.38, 91.61°)
OKLaboklab(79.44% -0.0092 0.1324)
OKLCHoklch(79.44% 0.133 94)
XYZxyz(47.1501, 50.2272, 13.8666)
Luminance0.5022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA4B #4B69D8
analogous
#D8744B #D8BA4B #B0D84B
triadic
#D8BA4B #4BD8BA #BA4BD8
tetradic
#D8BA4B #4BD874 #4B69D8 #D84BB0
square
#D8BA4B #4BD874 #4B69D8 #D84BB0
split-complementary
#D8BA4B #4BB0D8 #744BD8
monochromatic
#8B731E #BD9D29 #D8BA4B #E3CD7D #EEE1B0

Accessibility & contrast

On white

1.90
#D8BA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#D8BA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA4B
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA4B#FFFFFF#000000##000000
##D8BA4B1.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB73E
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#E9ACA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba4b;
/* rgb */ color: rgb(216, 186, 75);
/* oklch */ color: oklch(79.4% 0.133 94.0);
Tailwind
colors: {
  custom: {
    50: '#e8ce82',
    500: '#d8ba4b',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba4b;
$custom-light: #e8ce82;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba4b",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 75
  },
  "hsl": {
    "h": 47.234,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79441,
    "c": 0.13269,
    "h": 94
  },
  "luminance": 0.50225
}

Semantic roles & 50–950 ramp

primary
#D8BA4B
secondary
#374A90
accent
#64E740
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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