#D9B445#D9B445

#D9B445 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.3% C 0.134 H 90.3°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#D9B445
RGBrgb(217, 180, 69)
HSLhsl(45, 66%, 56%)
HSVhsv(45, 68%, 85%)
CMYKcmyk(0%, 17.1%, 68.2%, 14.9%)
CIE-LABlab(74.72, 1.59, 59.37)
CIE-LCHlch(74.72, 59.39, 88.47°)
OKLaboklab(78.27% -0.0007 0.1335)
OKLCHoklch(78.27% 0.134 90.3)
XYZxyz(46.0132, 47.8266, 12.4370)
Luminance0.4782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B445 #456AD9
analogous
#D96A45 #D9B445 #B4D945
triadic
#D9B445 #45D9B4 #B445D9
tetradic
#D9B445 #45D96A #456AD9 #D945B4
square
#D9B445 #45D96A #456AD9 #D945B4
split-complementary
#D9B445 #45B4D9 #6A45D9
monochromatic
#886D1C #BB9626 #D9B445 #E3C878 #EEDDAB

Accessibility & contrast

On white

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

On black

10.56
#D9B445 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B445
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B445#FFFFFF#000000##000000
##D9B4451.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b445;
/* rgb */ color: rgb(217, 180, 69);
/* oklch */ color: oklch(78.3% 0.134 90.3);
Tailwind
colors: {
  custom: {
    50: '#e9ca7e',
    500: '#d9b445',
    950: '#000000',
  },
}
SCSS
$custom: #d9b445;
$custom-light: #e9ca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b445",
  "rgb": {
    "r": 217,
    "g": 180,
    "b": 69
  },
  "hsl": {
    "h": 45,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78269,
    "c": 0.13351,
    "h": 90.3
  },
  "luminance": 0.47824
}

Semantic roles & 50–950 ramp

primary
#D9B445
secondary
#9EAEDB
accent
#69E93F
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B445

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

Preview Lab → · Contrast checker → · Palette generator →

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