#D8BF62#D8BF62

#D8BF62 is a light, moderate yellow. Relative luminance 0.527; OKLCH L 80.7% C 0.117 H 94.6°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#D8BF62
RGBrgb(216, 191, 98)
HSLhsl(47, 60%, 62%)
HSVhsv(47, 55%, 85%)
CMYKcmyk(0%, 11.6%, 54.6%, 15.3%)
CIE-LABlab(77.72, -2.64, 49.55)
CIE-LCHlch(77.72, 49.62, 93.05°)
OKLaboklab(80.71% -0.0093 0.1164)
OKLCHoklch(80.71% 0.117 94.6)
XYZxyz(49.1562, 52.7446, 19.1444)
Luminance0.5274 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF62 #627BD8
analogous
#D88462 #D8BF62 #B6D862
triadic
#D8BF62 #62D8BF #BF62D8
tetradic
#D8BF62 #62D884 #627BD8 #D862B6
square
#D8BF62 #62D884 #627BD8 #D862B6
split-complementary
#D8BF62 #62B6D8 #8462D8
monochromatic
#998126 #CAAA32 #D8BF62 #E4D393 #F0E7C4

Accessibility & contrast

On white

1.82
#D8BF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.55
#D8BF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF62
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF62#FFFFFF#000000##000000
##D8BF621.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC59
Deuteranopia (green-blind)
#D6C366
Tritanopia (blue-blind)
#E7B3AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf62;
/* rgb */ color: rgb(216, 191, 98);
/* oklch */ color: oklch(80.7% 0.117 94.6);
Tailwind
colors: {
  custom: {
    50: '#e6d291',
    500: '#d8bf62',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf62;
$custom-light: #e6d291;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf62",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 98
  },
  "hsl": {
    "h": 47.288,
    "s": 60.204,
    "l": 61.569
  },
  "oklch": {
    "l": 0.80711,
    "c": 0.11679,
    "h": 94.6
  },
  "luminance": 0.52742
}

Semantic roles & 50–950 ramp

primary
#D8BF62
secondary
#40549E
accent
#42C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #D8BF62

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

Preview Lab → · Contrast checker → · Palette generator →

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