#D8B445#D8B445

#D8B445 is a light, vivid yellow. Relative luminance 0.477; OKLCH L 78.2% C 0.133 H 90.8°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#D8B445
RGBrgb(216, 180, 69)
HSLhsl(45, 65%, 56%)
HSVhsv(45, 68%, 85%)
CMYKcmyk(0%, 16.7%, 68.1%, 15.3%)
CIE-LABlab(74.62, 1.16, 59.24)
CIE-LCHlch(74.62, 59.25, 88.88°)
OKLaboklab(78.17% -0.0018 0.1333)
OKLCHoklch(78.17% 0.133 90.8)
XYZxyz(45.7167, 47.6738, 12.4231)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B445 #4569D8
analogous
#D86A45 #D8B445 #B2D845
triadic
#D8B445 #45D8B4 #B445D8
tetradic
#D8B445 #45D86A #4569D8 #D845B2
square
#D8B445 #45D86A #4569D8 #D845B2
split-complementary
#D8B445 #45B2D8 #6A45D8
monochromatic
#866C1C #B99527 #D8B445 #E3C878 #EDDDAA

Accessibility & contrast

On white

1.99
#D8B445 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#D8B445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B445
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B445#FFFFFF#000000##000000
##D8B4451.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B237
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#E9A69D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8b445;
/* rgb */ color: rgb(216, 180, 69);
/* oklch */ color: oklch(78.2% 0.133 90.8);
Tailwind
colors: {
  custom: {
    50: '#e8ca7e',
    500: '#d8b445',
    950: '#000000',
  },
}
SCSS
$custom: #d8b445;
$custom-light: #e8ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b445",
  "rgb": {
    "r": 216,
    "g": 180,
    "b": 69
  },
  "hsl": {
    "h": 45.306,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.7817,
    "c": 0.13328,
    "h": 90.8
  },
  "luminance": 0.47671
}

Semantic roles & 50–950 ramp

primary
#D8B445
secondary
#9EADDB
accent
#69E840
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B445

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

Preview Lab → · Contrast checker → · Palette generator →

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