#D8B448#D8B448

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

Color values

HEX#D8B448
RGBrgb(216, 180, 72)
HSLhsl(45, 65%, 56%)
HSVhsv(45, 67%, 85%)
CMYKcmyk(0%, 16.7%, 66.7%, 15.3%)
CIE-LABlab(74.64, 1.33, 57.99)
CIE-LCHlch(74.64, 58.00, 88.69°)
OKLaboklab(78.2% -0.001 0.1311)
OKLCHoklch(78.2% 0.131 90.4)
XYZxyz(45.8122, 47.7120, 12.9260)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B448 #486CD8
analogous
#D86C48 #D8B448 #B4D848
triadic
#D8B448 #48D8B4 #B448D8
tetradic
#D8B448 #48D86C #486CD8 #D848B4
square
#D8B448 #48D86C #486CD8 #D848B4
split-complementary
#D8B448 #48B4D8 #6C48D8
monochromatic
#896E1D #BB9628 #D8B448 #E3C97A #EEDDAD

Accessibility & contrast

On white

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

On black

10.54
#D8B448 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8B448
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8B448#FFFFFF#000000##000000
##D8B4481.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8b448;
/* rgb */ color: rgb(216, 180, 72);
/* oklch */ color: oklch(78.2% 0.131 90.4);
Tailwind
colors: {
  custom: {
    50: '#e8ca80',
    500: '#d8b448',
    950: '#000000',
  },
}
SCSS
$custom: #d8b448;
$custom-light: #e8ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b448",
  "rgb": {
    "r": 216,
    "g": 180,
    "b": 72
  },
  "hsl": {
    "h": 45,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78197,
    "c": 0.13111,
    "h": 90.4
  },
  "luminance": 0.47709
}

Semantic roles & 50–950 ramp

primary
#D8B448
secondary
#A0AFDB
accent
#6AE840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B448

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

Preview Lab → · Contrast checker → · Palette generator →

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