#D8B446#D8B446

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

Color values

HEX#D8B446
RGBrgb(216, 180, 70)
HSLhsl(45, 65%, 56%)
HSVhsv(45, 68%, 85%)
CMYKcmyk(0%, 16.7%, 67.6%, 15.3%)
CIE-LABlab(74.63, 1.21, 58.82)
CIE-LCHlch(74.63, 58.83, 88.82°)
OKLaboklab(78.18% -0.0016 0.1326)
OKLCHoklch(78.18% 0.133 90.7)
XYZxyz(45.7481, 47.6863, 12.5879)
Luminance0.4768 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8B446 #466AD8
analogous
#D86B46 #D8B446 #B3D846
triadic
#D8B446 #46D8B4 #B446D8
tetradic
#D8B446 #46D86B #466AD8 #D846B3
square
#D8B446 #46D86B #466AD8 #D846B3
split-complementary
#D8B446 #46B3D8 #6B46D8
monochromatic
#876D1C #BA9627 #D8B446 #E3C879 #EDDDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8B446#FFFFFF#000000##000000
##D8B4461.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)
#C7B238
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#E9A69D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d8b446;
/* rgb */ color: rgb(216, 180, 70);
/* oklch */ color: oklch(78.2% 0.133 90.7);
Tailwind
colors: {
  custom: {
    50: '#e8ca7f',
    500: '#d8b446',
    950: '#000000',
  },
}
SCSS
$custom: #d8b446;
$custom-light: #e8ca7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8b446",
  "rgb": {
    "r": 216,
    "g": 180,
    "b": 70
  },
  "hsl": {
    "h": 45.205,
    "s": 65.179,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78179,
    "c": 0.13257,
    "h": 90.7
  },
  "luminance": 0.47684
}

Semantic roles & 50–950 ramp

primary
#D8B446
secondary
#9FAEDB
accent
#69E840
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D8B446

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

Preview Lab → · Contrast checker → · Palette generator →

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