#D8BF45#D8BF45

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

Color values

HEX#D8BF45
RGBrgb(216, 191, 69)
HSLhsl(50, 65%, 56%)
HSVhsv(50, 68%, 85%)
CMYKcmyk(0%, 11.6%, 68.1%, 15.3%)
CIE-LABlab(77.46, -4.58, 62.16)
CIE-LCHlch(77.46, 62.33, 94.21°)
OKLaboklab(80.41% -0.0183 0.1395)
OKLCHoklch(80.41% 0.141 97.5)
XYZxyz(48.0261, 52.2926, 13.1929)
Luminance0.5229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BF45 #455ED8
analogous
#D87545 #D8BF45 #A7D845
triadic
#D8BF45 #45D8BF #BF45D8
tetradic
#D8BF45 #45D875 #455ED8 #D845A7
square
#D8BF45 #45D875 #455ED8 #D845A7
split-complementary
#D8BF45 #45A7D8 #7545D8
monochromatic
#86741C #B9A027 #D8BF45 #E3D078 #EDE2AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8BF45#FFFFFF#000000##000000
##D8BF451.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)
#D1BB34
Deuteranopia (green-blind)
#D8C34C
Tritanopia (blue-blind)
#E9B1A6
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #d8bf45;
/* rgb */ color: rgb(216, 191, 69);
/* oklch */ color: oklch(80.4% 0.141 97.5);
Tailwind
colors: {
  custom: {
    50: '#e8d27f',
    500: '#d8bf45',
    950: '#000000',
  },
}
SCSS
$custom: #d8bf45;
$custom-light: #e8d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bf45",
  "rgb": {
    "r": 216,
    "g": 191,
    "b": 69
  },
  "hsl": {
    "h": 49.796,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.80412,
    "c": 0.14065,
    "h": 97.5
  },
  "luminance": 0.5229
}

Semantic roles & 50–950 ramp

primary
#D8BF45
secondary
#34438D
accent
#5CE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140A
muted
#85837D

Preview Lab

Preview with #D8BF45

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

Preview Lab → · Contrast checker → · Palette generator →

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