#D9B741#D9B741

#D9B741 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.8% C 0.138 H 92.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#D9B741
RGBrgb(217, 183, 65)
HSLhsl(47, 67%, 55%)
HSVhsv(47, 70%, 85%)
CMYKcmyk(0%, 15.7%, 70%, 14.9%)
CIE-LABlab(75.45, -0.20, 61.76)
CIE-LCHlch(75.45, 61.76, 90.18°)
OKLaboklab(78.84% -0.0063 0.1379)
OKLCHoklch(78.84% 0.138 92.6)
XYZxyz(46.5053, 49.0030, 12.0090)
Luminance0.4900 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B741 #4163D9
analogous
#D96B41 #D9B741 #AFD941
triadic
#D9B741 #41D9B7 #B741D9
tetradic
#D9B741 #41D96B #4163D9 #D941AF
square
#D9B741 #41D96B #4163D9 #D941AF
split-complementary
#D9B741 #41AFD9 #6B41D9
monochromatic
#856D1B #B89725 #D9B741 #E3CA74 #EDDEA7

Accessibility & contrast

On white

1.94
#D9B741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#D9B741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B741
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B741#FFFFFF#000000##000000
##D9B7411.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB430
Deuteranopia (green-blind)
#D3BE47
Tritanopia (blue-blind)
#EAA99F
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b741;
/* rgb */ color: rgb(217, 183, 65);
/* oklch */ color: oklch(78.8% 0.138 92.6);
Tailwind
colors: {
  custom: {
    50: '#e9cc7c',
    500: '#d9b741',
    950: '#000000',
  },
}
SCSS
$custom: #d9b741;
$custom-light: #e9cc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b741",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 65
  },
  "hsl": {
    "h": 46.579,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.78841,
    "c": 0.13803,
    "h": 92.6
  },
  "luminance": 0.49
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B741

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

Preview Lab → · Contrast checker → · Palette generator →

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