#D9B845#D9B845

#D9B845 is a light, vivid yellow. Relative luminance 0.495; OKLCH L 79.1% C 0.136 H 92.8°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#D9B845
RGBrgb(217, 184, 69)
HSLhsl(47, 66%, 56%)
HSVhsv(47, 68%, 85%)
CMYKcmyk(0%, 15.2%, 68.2%, 14.9%)
CIE-LABlab(75.74, -0.51, 60.43)
CIE-LCHlch(75.74, 60.43, 90.49°)
OKLaboklab(79.08% -0.0067 0.1358)
OKLCHoklch(79.08% 0.136 92.8)
XYZxyz(46.8323, 49.4650, 12.7100)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B845 #4566D9
analogous
#D96E45 #D9B845 #B0D945
triadic
#D9B845 #45D9B8 #B845D9
tetradic
#D9B845 #45D96E #4566D9 #D945B0
square
#D9B845 #45D96E #4566D9 #D945B0
split-complementary
#D9B845 #45B0D9 #6E45D9
monochromatic
#88701C #BB9A26 #D9B845 #E3CB78 #EEDFAB

Accessibility & contrast

On white

1.93
#D9B845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#D9B845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B845
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B845#FFFFFF#000000##000000
##D9B8451.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB536
Deuteranopia (green-blind)
#D3BF4B
Tritanopia (blue-blind)
#EAAAA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b845;
/* rgb */ color: rgb(217, 184, 69);
/* oklch */ color: oklch(79.1% 0.136 92.8);
Tailwind
colors: {
  custom: {
    50: '#e9cd7f',
    500: '#d9b845',
    950: '#000000',
  },
}
SCSS
$custom: #d9b845;
$custom-light: #e9cd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b845",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 46.622,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79077,
    "c": 0.13593,
    "h": 92.8
  },
  "luminance": 0.49462
}

Semantic roles & 50–950 ramp

primary
#D9B845
secondary
#9EACDB
accent
#65E93F
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B845

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

Preview Lab → · Contrast checker → · Palette generator →

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