#D9B745#D9B745

#D9B745 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.9% C 0.135 H 92.2°. Best body text is #000000 at 10.81:1 contrast (WCAG AA passes).

Color values

HEX#D9B745
RGBrgb(217, 183, 69)
HSLhsl(46, 66%, 56%)
HSVhsv(46, 68%, 85%)
CMYKcmyk(0%, 15.7%, 68.2%, 14.9%)
CIE-LABlab(75.48, 0.01, 60.16)
CIE-LCHlch(75.48, 60.16, 89.99°)
OKLaboklab(78.87% -0.0052 0.1352)
OKLCHoklch(78.87% 0.135 92.2)
XYZxyz(46.6253, 49.0510, 12.6410)
Luminance0.4905 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B745 #4567D9
analogous
#D96D45 #D9B745 #B1D945
triadic
#D9B745 #45D9B7 #B745D9
tetradic
#D9B745 #45D96D #4567D9 #D945B1
square
#D9B745 #45D96D #4567D9 #D945B1
split-complementary
#D9B745 #45B1D9 #6D45D9
monochromatic
#886F1C #BB9926 #D9B745 #E3CB78 #EEDEAB

Accessibility & contrast

On white

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

On black

10.81
#D9B745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B745
10.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B745#FFFFFF#000000##000000
##D9B7451.001.9410.8110.81
#FFFFFF1.941.0021.0021.00
#00000010.8121.001.001.00
##00000010.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b745;
/* rgb */ color: rgb(217, 183, 69);
/* oklch */ color: oklch(78.9% 0.135 92.2);
Tailwind
colors: {
  custom: {
    50: '#e9cc7e',
    500: '#d9b745',
    950: '#000000',
  },
}
SCSS
$custom: #d9b745;
$custom-light: #e9cc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b745",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 69
  },
  "hsl": {
    "h": 46.216,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.78874,
    "c": 0.13529,
    "h": 92.2
  },
  "luminance": 0.49048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B745

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

Preview Lab → · Contrast checker → · Palette generator →

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