#D8BD57#D8BD57

#D8BD57 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 80.2% C 0.125 H 94.6°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#D8BD57
RGBrgb(216, 189, 87)
HSLhsl(47, 62%, 59%)
HSVhsv(47, 60%, 85%)
CMYKcmyk(0%, 12.5%, 59.7%, 15.3%)
CIE-LABlab(77.09, -2.43, 53.98)
CIE-LCHlch(77.09, 54.04, 92.57°)
OKLaboklab(80.17% -0.01 0.1247)
OKLCHoklch(80.17% 0.125 94.6)
XYZxyz(48.2389, 51.6846, 16.4502)
Luminance0.5168 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD57 #5772D8
analogous
#D87D57 #D8BD57 #B3D857
triadic
#D8BD57 #57D8BD #BD57D8
tetradic
#D8BD57 #57D87D #5772D8 #D857B3
square
#D8BD57 #57D87D #5772D8 #D857B3
split-complementary
#D8BD57 #57B3D8 #7D57D8
monochromatic
#937B22 #C4A52E #D8BD57 #E4D189 #EFE4BA

Accessibility & contrast

On white

1.85
#D8BD57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#D8BD57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD57
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD57#FFFFFF#000000##000000
##D8BD571.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBA4C
Deuteranopia (green-blind)
#D5C25C
Tritanopia (blue-blind)
#E8B0A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d8bd57;
/* rgb */ color: rgb(216, 189, 87);
/* oklch */ color: oklch(80.2% 0.125 94.6);
Tailwind
colors: {
  custom: {
    50: '#e7d08a',
    500: '#d8bd57',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd57;
$custom-light: #e7d08a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd57",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 87
  },
  "hsl": {
    "h": 47.442,
    "s": 62.319,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80174,
    "c": 0.12514,
    "h": 94.6
  },
  "luminance": 0.51682
}

Semantic roles & 50–950 ramp

primary
#D8BD57
secondary
#3C4F98
accent
#65E542
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BD57

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

Preview Lab → · Contrast checker → · Palette generator →

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