#D8BB45#D8BB45

#D8BB45 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.6% C 0.138 H 95.1°. Best body text is #000000 at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#D8BB45
RGBrgb(216, 187, 69)
HSLhsl(48, 65%, 56%)
HSVhsv(48, 68%, 85%)
CMYKcmyk(0%, 13.4%, 68.1%, 15.3%)
CIE-LABlab(76.42, -2.51, 61.10)
CIE-LCHlch(76.42, 61.15, 92.35°)
OKLaboklab(79.59% -0.0123 0.1372)
OKLCHoklch(79.59% 0.138 95.1)
XYZxyz(47.1657, 50.5717, 12.9061)
Luminance0.5057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BB45 #4562D8
analogous
#D87145 #D8BB45 #ABD845
triadic
#D8BB45 #45D8BB #BB45D8
tetradic
#D8BB45 #45D871 #4562D8 #D845AB
square
#D8BB45 #45D871 #4562D8 #D845AB
split-complementary
#D8BB45 #45ABD8 #7145D8
monochromatic
#86711C #B99C27 #D8BB45 #E3CD78 #EDE0AA

Accessibility & contrast

On white

1.89
#D8BB45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.11
#D8BB45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BB45
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BB45#FFFFFF#000000##000000
##D8BB451.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB735
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#E9ADA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d8bb45;
/* rgb */ color: rgb(216, 187, 69);
/* oklch */ color: oklch(79.6% 0.138 95.1);
Tailwind
colors: {
  custom: {
    50: '#e8cf7f',
    500: '#d8bb45',
    950: '#000000',
  },
}
SCSS
$custom: #d8bb45;
$custom-light: #e8cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bb45",
  "rgb": {
    "r": 216,
    "g": 187,
    "b": 69
  },
  "hsl": {
    "h": 48.163,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79592,
    "c": 0.13776,
    "h": 95.1
  },
  "luminance": 0.50569
}

Semantic roles & 50–950 ramp

primary
#D8BB45
secondary
#34468D
accent
#61E840
background
#FFFEFB
surface
#FEFAF2
border
#D6D3CC
text
#17130A
muted
#85837D

Preview Lab

Preview with #D8BB45

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

Preview Lab → · Contrast checker → · Palette generator →

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