#D8BF3B#D8BF3B

#D8BF3B is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.3% C 0.147 H 98.1°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#D8BF3B
RGBrgb(216, 191, 59)
HSLhsl(50, 67%, 54%)
HSVhsv(50, 73%, 85%)
CMYKcmyk(0%, 11.6%, 72.7%, 15.3%)
CIE-LABlab(77.39, -5.08, 65.95)
CIE-LCHlch(77.39, 66.14, 94.40°)
OKLaboklab(80.34% -0.0208 0.1457)
OKLCHoklch(80.34% 0.147 98.1)
XYZxyz(47.7415, 52.1787, 11.6936)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF3B #3B54D8
analogous
#D8713B #D8BF3B #A3D83B
triadic
#D8BF3B #3BD8BF #BF3BD8
tetradic
#D8BF3B #3BD871 #3B54D8 #D83BA3
square
#D8BF3B #3BD871 #3B54D8 #D83BA3
split-complementary
#D8BF3B #3BA3D8 #713BD8
monochromatic
#7F6F19 #B29C23 #D8BF3B #E2D06E #ECE0A1

Accessibility & contrast

On white

1.84
#D8BF3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#D8BF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF3B
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF3B#FFFFFF#000000##000000
##D8BF3B1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA25
Deuteranopia (green-blind)
#D9C343
Tritanopia (blue-blind)
#E9B1A5
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8bf3b;
/* rgb */ color: rgb(216, 191, 59);
/* oklch */ color: oklch(80.3% 0.147 98.1);
Tailwind
colors: {
  custom: {
    50: '#e8d17a',
    500: '#d8bf3b',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf3b;
$custom-light: #e8d17a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf3b",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 59
  },
  "hsl": {
    "h": 50.446,
    "s": 66.809,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80337,
    "c": 0.14716,
    "h": 98.1
  },
  "luminance": 0.52176
}

Semantic roles & 50–950 ramp

primary
#D8BF3B
secondary
#313E86
accent
#59EA3E
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8BF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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