#D8BB46#D8BB46

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

Color values

HEX#D8BB46
RGBrgb(216, 187, 70)
HSLhsl(48, 65%, 56%)
HSVhsv(48, 68%, 85%)
CMYKcmyk(0%, 13.4%, 67.6%, 15.3%)
CIE-LABlab(76.43, -2.45, 60.70)
CIE-LCHlch(76.43, 60.74, 92.31°)
OKLaboklab(79.6% -0.0121 0.1365)
OKLCHoklch(79.6% 0.137 95.1)
XYZxyz(47.1970, 50.5843, 13.0709)
Luminance0.5058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8BB46 #4663D8
analogous
#D87246 #D8BB46 #ACD846
triadic
#D8BB46 #46D8BB #BB46D8
tetradic
#D8BB46 #46D872 #4663D8 #D846AC
square
#D8BB46 #46D872 #4663D8 #D846AC
split-complementary
#D8BB46 #46ACD8 #7246D8
monochromatic
#87721C #BA9D27 #D8BB46 #E3CE79 #EDE0AB

Accessibility & contrast

On white

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

On black

11.12
#D8BB46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8BB46
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8BB46#FFFFFF#000000##000000
##D8BB461.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8bb46;
/* rgb */ color: rgb(216, 187, 70);
/* oklch */ color: oklch(79.6% 0.137 95.1);
Tailwind
colors: {
  custom: {
    50: '#e8cf7f',
    500: '#d8bb46',
    950: '#000000',
  },
}
SCSS
$custom: #d8bb46;
$custom-light: #e8cf7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8bb46",
  "rgb": {
    "r": 216,
    "g": 187,
    "b": 70
  },
  "hsl": {
    "h": 48.082,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.796,
    "c": 0.13705,
    "h": 95.1
  },
  "luminance": 0.50582
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8BB46

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

Preview Lab → · Contrast checker → · Palette generator →

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