#D8BA54#D8BA54

#D8BA54 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.5% C 0.126 H 92.9°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D8BA54
RGBrgb(216, 186, 84)
HSLhsl(46, 63%, 59%)
HSVhsv(46, 61%, 85%)
CMYKcmyk(0%, 13.9%, 61.1%, 15.3%)
CIE-LABlab(76.29, -1.07, 54.45)
CIE-LCHlch(76.29, 54.47, 91.12°)
OKLaboklab(79.53% -0.0064 0.1254)
OKLCHoklch(79.53% 0.126 92.9)
XYZxyz(47.4802, 50.3593, 15.6052)
Luminance0.5036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA54 #5472D8
analogous
#D87854 #D8BA54 #B4D854
triadic
#D8BA54 #54D8BA #BA54D8
tetradic
#D8BA54 #54D878 #5472D8 #D854B4
square
#D8BA54 #54D878 #5472D8 #D854B4
split-complementary
#D8BA54 #54B4D8 #7854D8
monochromatic
#917721 #C2A02C #D8BA54 #E3CE86 #EFE2B8

Accessibility & contrast

On white

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

On black

11.07
#D8BA54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA54
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA54#FFFFFF#000000##000000
##D8BA541.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB749
Deuteranopia (green-blind)
#D3C059
Tritanopia (blue-blind)
#E8ADA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8ba54;
/* rgb */ color: rgb(216, 186, 84);
/* oklch */ color: oklch(79.5% 0.126 92.9);
Tailwind
colors: {
  custom: {
    50: '#e7ce88',
    500: '#d8ba54',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba54;
$custom-light: #e7ce88;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba54",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 84
  },
  "hsl": {
    "h": 46.364,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.79531,
    "c": 0.12553,
    "h": 92.9
  },
  "luminance": 0.50357
}

Semantic roles & 50–950 ramp

primary
#D8BA54
secondary
#3A4F96
accent
#67E642
background
#FFFEFC
surface
#FEFAF3
border
#D6D3CD
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BA54

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

Preview Lab → · Contrast checker → · Palette generator →

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