#D8BF4F#D8BF4F

#D8BF4F is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.133 H 96.7°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#D8BF4F
RGBrgb(216, 191, 79)
HSLhsl(49, 64%, 58%)
HSVhsv(49, 63%, 85%)
CMYKcmyk(0%, 11.6%, 63.4%, 15.3%)
CIE-LABlab(77.54, -4.00, 58.05)
CIE-LCHlch(77.54, 58.19, 93.94°)
OKLaboklab(80.5% -0.0155 0.1323)
OKLCHoklch(80.5% 0.133 96.7)
XYZxyz(48.3631, 52.4274, 14.9677)
Luminance0.5242 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF4F #4F68D8
analogous
#D87A4F #D8BF4F #ACD84F
triadic
#D8BF4F #4FD8BF #BF4FD8
tetradic
#D8BF4F #4FD87A #4F68D8 #D84FAC
square
#D8BF4F #4FD87A #4F68D8 #D84FAC
split-complementary
#D8BF4F #4FACD8 #7A4FD8
monochromatic
#8D791F #BFA42A #D8BF4F #E3D181 #EEE3B3

Accessibility & contrast

On white

1.83
#D8BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.49
#D8BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF4F
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF4F#FFFFFF#000000##000000
##D8BF4F1.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB42
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#E8B2A7
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf4f;
/* rgb */ color: rgb(216, 191, 79);
/* oklch */ color: oklch(80.5% 0.133 96.7);
Tailwind
colors: {
  custom: {
    50: '#e7d285',
    500: '#d8bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf4f;
$custom-light: #e7d285;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf4f",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 49.051,
    "s": 63.721,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80502,
    "c": 0.13322,
    "h": 96.7
  },
  "luminance": 0.52425
}

Semantic roles & 50–950 ramp

primary
#D8BF4F
secondary
#384993
accent
#5FE741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D8BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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