#D8BA4E#D8BA4E

#D8BA4E is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.5% C 0.130 H 93.6°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D8BA4E
RGBrgb(216, 186, 78)
HSLhsl(47, 64%, 58%)
HSVhsv(47, 64%, 85%)
CMYKcmyk(0%, 13.9%, 63.9%, 15.3%)
CIE-LABlab(76.23, -1.46, 57.08)
CIE-LCHlch(76.23, 57.10, 91.46°)
OKLaboklab(79.47% -0.0083 0.1301)
OKLCHoklch(79.47% 0.13 93.6)
XYZxyz(47.2552, 50.2693, 14.4201)
Luminance0.5027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA4E #4E6CD8
analogous
#D8754E #D8BA4E #B1D84E
triadic
#D8BA4E #4ED8BA #BA4ED8
tetradic
#D8BA4E #4ED875 #4E6CD8 #D84EB1
square
#D8BA4E #4ED875 #4E6CD8 #D84EB1
split-complementary
#D8BA4E #4EB1D8 #754ED8
monochromatic
#8D751F #BF9E2A #D8BA4E #E3CE80 #EEE1B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BA4E#FFFFFF#000000##000000
##D8BA4E1.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)
#CCB742
Deuteranopia (green-blind)
#D4C053
Tritanopia (blue-blind)
#E8ACA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba4e;
/* rgb */ color: rgb(216, 186, 78);
/* oklch */ color: oklch(79.5% 0.130 93.6);
Tailwind
colors: {
  custom: {
    50: '#e7ce84',
    500: '#d8ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba4e;
$custom-light: #e7ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba4e",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 46.957,
    "s": 63.889,
    "l": 57.647
  },
  "oklch": {
    "l": 0.7947,
    "c": 0.13037,
    "h": 93.6
  },
  "luminance": 0.50267
}

Semantic roles & 50–950 ramp

primary
#D8BA4E
secondary
#384C92
accent
#65E741
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#16130B
muted
#85837E

Preview Lab

Preview with #D8BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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