#D8B950#D8B950

#D8B950 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.3% C 0.128 H 92.8°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#D8B950
RGBrgb(216, 185, 80)
HSLhsl(46, 64%, 58%)
HSVhsv(46, 63%, 85%)
CMYKcmyk(0%, 14.4%, 63%, 15.3%)
CIE-LABlab(75.99, -0.81, 55.93)
CIE-LCHlch(75.99, 55.94, 90.83°)
OKLaboklab(79.29% -0.0062 0.128)
OKLCHoklch(79.29% 0.128 92.8)
XYZxyz(47.1180, 49.8785, 14.7336)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B950 #506FD8
analogous
#D87550 #D8B950 #B3D850
triadic
#D8B950 #50D8B9 #B950D8
tetradic
#D8B950 #50D875 #506FD8 #D850B3
square
#D8B950 #50D875 #506FD8 #D850B3
split-complementary
#D8B950 #50B3D8 #7550D8
monochromatic
#8E7520 #C09E2B #D8B950 #E3CD82 #EEE1B4

Accessibility & contrast

On white

1.91
#D8B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.98
#D8B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B950
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B950#FFFFFF#000000##000000
##D8B9501.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB644
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#E8ABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d8b950;
/* rgb */ color: rgb(216, 185, 80);
/* oklch */ color: oklch(79.3% 0.128 92.8);
Tailwind
colors: {
  custom: {
    50: '#e7cd85',
    500: '#d8b950',
    950: '#000000',
  },
}
SCSS
$custom: #d8b950;
$custom-light: #e7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b950",
  "rgb": {
    "r": 216,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 46.324,
    "s": 63.551,
    "l": 58.039
  },
  "oklch": {
    "l": 0.79286,
    "c": 0.12811,
    "h": 92.8
  },
  "luminance": 0.49876
}

Semantic roles & 50–950 ramp

primary
#D8B950
secondary
#A7B3DD
accent
#67E741
background
#FEFCF8
surface
#FDF9F0
border
#D5D2CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #D8B950

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

Preview Lab → · Contrast checker → · Palette generator →

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