#D8BF61#D8BF61

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

Color values

HEX#D8BF61
RGBrgb(216, 191, 97)
HSLhsl(47, 60%, 61%)
HSVhsv(47, 55%, 85%)
CMYKcmyk(0%, 11.6%, 55.1%, 15.3%)
CIE-LABlab(77.71, -2.72, 50.01)
CIE-LCHlch(77.71, 50.09, 93.11°)
OKLaboklab(80.7% -0.0097 0.1173)
OKLCHoklch(80.7% 0.118 94.7)
XYZxyz(49.1093, 52.7258, 18.8973)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF61 #617AD8
analogous
#D88461 #D8BF61 #B6D861
triadic
#D8BF61 #61D8BF #BF61D8
tetradic
#D8BF61 #61D884 #617AD8 #D861B6
square
#D8BF61 #61D884 #617AD8 #D861B6
split-complementary
#D8BF61 #61B6D8 #8461D8
monochromatic
#998126 #CAAA32 #D8BF61 #E4D392 #F0E7C3

Accessibility & contrast

On white

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

On black

11.54
#D8BF61 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF61
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF61#FFFFFF#000000##000000
##D8BF611.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bf61;
/* rgb */ color: rgb(216, 191, 97);
/* oklch */ color: oklch(80.7% 0.118 94.7);
Tailwind
colors: {
  custom: {
    50: '#e7d290',
    500: '#d8bf61',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf61;
$custom-light: #e7d290;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf61",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 97
  },
  "hsl": {
    "h": 47.395,
    "s": 60.406,
    "l": 61.373
  },
  "oklch": {
    "l": 0.80699,
    "c": 0.11773,
    "h": 94.7
  },
  "luminance": 0.52724
}

Semantic roles & 50–950 ramp

primary
#D8BF61
secondary
#40539D
accent
#41C81D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D8BF61

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

Preview Lab → · Contrast checker → · Palette generator →

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