#D8BF46#D8BF46

#D8BF46 is a light, vivid yellow. Relative luminance 0.523; OKLCH L 80.4% C 0.140 H 97.4°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#D8BF46
RGBrgb(216, 191, 70)
HSLhsl(50, 65%, 56%)
HSVhsv(50, 68%, 85%)
CMYKcmyk(0%, 11.6%, 67.6%, 15.3%)
CIE-LABlab(77.46, -4.53, 61.77)
CIE-LCHlch(77.46, 61.93, 94.19°)
OKLaboklab(80.42% -0.018 0.1388)
OKLCHoklch(80.42% 0.14 97.4)
XYZxyz(48.0574, 52.3051, 13.3577)
Luminance0.5230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF46 #465FD8
analogous
#D87646 #D8BF46 #A8D846
triadic
#D8BF46 #46D8BF #BF46D8
tetradic
#D8BF46 #46D876 #465FD8 #D846A8
square
#D8BF46 #46D876 #465FD8 #D846A8
split-complementary
#D8BF46 #46A8D8 #7646D8
monochromatic
#87751C #BAA127 #D8BF46 #E3D079 #EDE2AB

Accessibility & contrast

On white

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

On black

11.46
#D8BF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BF46
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BF46#FFFFFF#000000##000000
##D8BF461.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB36
Deuteranopia (green-blind)
#D8C34D
Tritanopia (blue-blind)
#E9B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8bf46;
/* rgb */ color: rgb(216, 191, 70);
/* oklch */ color: oklch(80.4% 0.140 97.4);
Tailwind
colors: {
  custom: {
    50: '#e8d280',
    500: '#d8bf46',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf46;
$custom-light: #e8d280;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf46",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 70
  },
  "hsl": {
    "h": 49.726,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80421,
    "c": 0.13995,
    "h": 97.4
  },
  "luminance": 0.52303
}

Semantic roles & 50–950 ramp

primary
#D8BF46
secondary
#35448D
accent
#5DE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D8BF46

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

Preview Lab → · Contrast checker → · Palette generator →

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