#D8BF58#D8BF58

#D8BF58 is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.6% C 0.126 H 95.8°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D8BF58
RGBrgb(216, 191, 88)
HSLhsl(48, 62%, 60%)
HSVhsv(48, 59%, 85%)
CMYKcmyk(0%, 11.6%, 59.3%, 15.3%)
CIE-LABlab(77.62, -3.40, 54.12)
CIE-LCHlch(77.62, 54.22, 93.59°)
OKLaboklab(80.59% -0.0127 0.1252)
OKLCHoklch(80.59% 0.126 95.8)
XYZxyz(48.7132, 52.5674, 16.8112)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF58 #5871D8
analogous
#D87F58 #D8BF58 #B1D858
triadic
#D8BF58 #58D8BF #BF58D8
tetradic
#D8BF58 #58D87F #5871D8 #D858B1
square
#D8BF58 #58D87F #5871D8 #D858B1
split-complementary
#D8BF58 #58B1D8 #7F58D8
monochromatic
#937D22 #C5A72E #D8BF58 #E4D28A #EFE5BB

Accessibility & contrast

On white

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

On black

11.51
#D8BF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF58
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF58#FFFFFF#000000##000000
##D8BF581.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BB4D
Deuteranopia (green-blind)
#D7C35D
Tritanopia (blue-blind)
#E8B2A8
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d8bf58;
/* rgb */ color: rgb(216, 191, 88);
/* oklch */ color: oklch(80.6% 0.126 95.8);
Tailwind
colors: {
  custom: {
    50: '#e7d28b',
    500: '#d8bf58',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf58;
$custom-light: #e7d28b;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf58",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 88
  },
  "hsl": {
    "h": 48.281,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.80594,
    "c": 0.12579,
    "h": 95.8
  },
  "luminance": 0.52565
}

Semantic roles & 50–950 ramp

primary
#D8BF58
secondary
#3C4E98
accent
#62E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8BF58

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

Preview Lab → · Contrast checker → · Palette generator →

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