#D8BA57#D8BA57

#D8BA57 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.6% C 0.123 H 92.6°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#D8BA57
RGBrgb(216, 186, 87)
HSLhsl(46, 62%, 59%)
HSVhsv(46, 60%, 85%)
CMYKcmyk(0%, 13.9%, 59.7%, 15.3%)
CIE-LABlab(76.32, -0.86, 53.11)
CIE-LCHlch(76.32, 53.12, 90.93°)
OKLaboklab(79.56% -0.0055 0.1229)
OKLCHoklch(79.56% 0.123 92.6)
XYZxyz(47.6002, 50.4073, 16.2373)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BA57 #5775D8
analogous
#D87A57 #D8BA57 #B5D857
triadic
#D8BA57 #57D8BA #BA57D8
tetradic
#D8BA57 #57D87A #5775D8 #D857B5
square
#D8BA57 #57D87A #5775D8 #D857B5
split-complementary
#D8BA57 #57B5D8 #7A57D8
monochromatic
#937822 #C4A12E #D8BA57 #E4CE89 #EFE3BA

Accessibility & contrast

On white

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

On black

11.08
#D8BA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BA57
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BA57#FFFFFF#000000##000000
##D8BA571.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ba57;
/* rgb */ color: rgb(216, 186, 87);
/* oklch */ color: oklch(79.6% 0.123 92.6);
Tailwind
colors: {
  custom: {
    50: '#e7ce8a',
    500: '#d8ba57',
    950: '#000000',
  },
}
SCSS
$custom: #d8ba57;
$custom-light: #e7ce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ba57",
  "rgb": {
    "r": 216,
    "g": 186,
    "b": 87
  },
  "hsl": {
    "h": 46.047,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.79563,
    "c": 0.12299,
    "h": 92.6
  },
  "luminance": 0.50405
}

Semantic roles & 50–950 ramp

primary
#D8BA57
secondary
#3C5198
accent
#68E542
background
#FFFEFC
surface
#FEFAF4
border
#D6D3CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BA57

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

Preview Lab → · Contrast checker → · Palette generator →

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