#D9B941#D9B941

#D9B941 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.2% C 0.139 H 93.8°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#D9B941
RGBrgb(217, 185, 65)
HSLhsl(47, 67%, 55%)
HSVhsv(47, 70%, 85%)
CMYKcmyk(0%, 14.7%, 70%, 14.9%)
CIE-LABlab(75.97, -1.24, 62.28)
CIE-LCHlch(75.97, 62.30, 91.14°)
OKLaboklab(79.25% -0.0093 0.139)
OKLCHoklch(79.25% 0.139 93.8)
XYZxyz(46.9208, 49.8339, 12.1475)
Luminance0.4983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B941 #4161D9
analogous
#D96D41 #D9B941 #ADD941
triadic
#D9B941 #41D9B9 #B941D9
tetradic
#D9B941 #41D96D #4161D9 #D941AD
square
#D9B941 #41D96D #4161D9 #D941AD
split-complementary
#D9B941 #41ADD9 #6D41D9
monochromatic
#856F1B #B89925 #D9B941 #E3CC74 #EDDFA7

Accessibility & contrast

On white

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

On black

10.97
#D9B941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B941
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B941#FFFFFF#000000##000000
##D9B9411.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB630
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#EAABA1
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b941;
/* rgb */ color: rgb(217, 185, 65);
/* oklch */ color: oklch(79.2% 0.139 93.8);
Tailwind
colors: {
  custom: {
    50: '#e9cd7c',
    500: '#d9b941',
    950: '#000000',
  },
}
SCSS
$custom: #d9b941;
$custom-light: #e9cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b941",
  "rgb": {
    "r": 217,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 47.368,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.79247,
    "c": 0.1393,
    "h": 93.8
  },
  "luminance": 0.49831
}

Semantic roles & 50–950 ramp

primary
#D9B941
secondary
#9BA9DB
accent
#62EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B941

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

Preview Lab → · Contrast checker → · Palette generator →

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