#D9B949#D9B949

#D9B949 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.3% C 0.134 H 93.0°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#D9B949
RGBrgb(217, 185, 73)
HSLhsl(47, 65%, 57%)
HSVhsv(47, 66%, 85%)
CMYKcmyk(0%, 14.7%, 66.4%, 14.9%)
CIE-LABlab(76.03, -0.81, 59.05)
CIE-LCHlch(76.03, 59.06, 90.79°)
OKLaboklab(79.32% -0.0071 0.1335)
OKLCHoklch(79.32% 0.134 93)
XYZxyz(47.1692, 49.9332, 13.4556)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B949 #4969D9
analogous
#D97149 #D9B949 #B1D949
triadic
#D9B949 #49D9B9 #B949D9
tetradic
#D9B949 #49D971 #4969D9 #D949B1
square
#D9B949 #49D971 #4969D9 #D949B1
split-complementary
#D9B949 #49B1D9 #7149D9
monochromatic
#8B721D #BD9C28 #D9B949 #E4CC7C #EEE0AE

Accessibility & contrast

On white

1.91
#D9B949 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#D9B949 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B949
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B949#FFFFFF#000000##000000
##D9B9491.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB63B
Deuteranopia (green-blind)
#D4BF4F
Tritanopia (blue-blind)
#EAABA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b949;
/* rgb */ color: rgb(217, 185, 73);
/* oklch */ color: oklch(79.3% 0.134 93.0);
Tailwind
colors: {
  custom: {
    50: '#e8cd81',
    500: '#d9b949',
    950: '#000000',
  },
}
SCSS
$custom: #d9b949;
$custom-light: #e8cd81;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b949",
  "rgb": {
    "r": 217,
    "g": 185,
    "b": 73
  },
  "hsl": {
    "h": 46.667,
    "s": 65.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79315,
    "c": 0.13369,
    "h": 93
  },
  "luminance": 0.49931
}

Semantic roles & 50–950 ramp

primary
#D9B949
secondary
#A2AFDC
accent
#65E83F
background
#FEFCF8
surface
#FDF8EF
border
#D5D1CA
text
#17130B
muted
#85827C

Preview Lab

Preview with #D9B949

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

Preview Lab → · Contrast checker → · Palette generator →

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