#D8BD5A#D8BD5A

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

Color values

HEX#D8BD5A
RGBrgb(216, 189, 90)
HSLhsl(47, 62%, 60%)
HSVhsv(47, 58%, 85%)
CMYKcmyk(0%, 12.5%, 58.3%, 15.3%)
CIE-LABlab(77.12, -2.21, 52.63)
CIE-LCHlch(77.12, 52.68, 92.41°)
OKLaboklab(80.21% -0.009 0.1222)
OKLCHoklch(80.21% 0.123 94.2)
XYZxyz(48.3640, 51.7346, 17.1092)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BD5A #5A75D8
analogous
#D87E5A #D8BD5A #B4D85A
triadic
#D8BD5A #5AD8BD #BD5AD8
tetradic
#D8BD5A #5AD87E #5A75D8 #D85AB4
square
#D8BD5A #5AD87E #5A75D8 #D85AB4
split-complementary
#D8BD5A #5AB4D8 #7E5AD8
monochromatic
#957C23 #C6A62F #D8BD5A #E4D18B #EFE5BD

Accessibility & contrast

On white

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

On black

11.35
#D8BD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BD5A
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BD5A#FFFFFF#000000##000000
##D8BD5A1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bd5a;
/* rgb */ color: rgb(216, 189, 90);
/* oklch */ color: oklch(80.2% 0.123 94.2);
Tailwind
colors: {
  custom: {
    50: '#e7d08c',
    500: '#d8bd5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8bd5a;
$custom-light: #e7d08c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bd5a",
  "rgb": {
    "r": 216,
    "g": 189,
    "b": 90
  },
  "hsl": {
    "h": 47.143,
    "s": 61.765,
    "l": 60
  },
  "oklch": {
    "l": 0.80208,
    "c": 0.12254,
    "h": 94.2
  },
  "luminance": 0.51732
}

Semantic roles & 50–950 ramp

primary
#D8BD5A
secondary
#3D5199
accent
#66E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16130C
muted
#85837F

Preview Lab

Preview with #D8BD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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