#D9B746#D9B746

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

Color values

HEX#D9B746
RGBrgb(217, 183, 70)
HSLhsl(46, 66%, 56%)
HSVhsv(46, 68%, 85%)
CMYKcmyk(0%, 15.7%, 67.7%, 14.9%)
CIE-LABlab(75.49, 0.07, 59.75)
CIE-LCHlch(75.49, 59.75, 89.94°)
OKLaboklab(78.88% -0.0049 0.1345)
OKLCHoklch(78.88% 0.135 92.1)
XYZxyz(46.6566, 49.0635, 12.8059)
Luminance0.4906 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B746 #4668D9
analogous
#D96E46 #D9B746 #B2D946
triadic
#D9B746 #46D9B7 #B746D9
tetradic
#D9B746 #46D96E #4668D9 #D946B2
square
#D9B746 #46D96E #4668D9 #D946B2
split-complementary
#D9B746 #46B2D9 #6E46D9
monochromatic
#896F1C #BB9926 #D9B746 #E3CB79 #EEDFAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B746#FFFFFF#000000##000000
##D9B7461.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)
#CAB438
Deuteranopia (green-blind)
#D3BE4C
Tritanopia (blue-blind)
#EAA9A0
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b746;
/* rgb */ color: rgb(217, 183, 70);
/* oklch */ color: oklch(78.9% 0.135 92.1);
Tailwind
colors: {
  custom: {
    50: '#e8cc7f',
    500: '#d9b746',
    950: '#000000',
  },
}
SCSS
$custom: #d9b746;
$custom-light: #e8cc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b746",
  "rgb": {
    "r": 217,
    "g": 183,
    "b": 70
  },
  "hsl": {
    "h": 46.122,
    "s": 65.919,
    "l": 56.275
  },
  "oklch": {
    "l": 0.78883,
    "c": 0.13459,
    "h": 92.1
  },
  "luminance": 0.49061
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B746

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

Preview Lab → · Contrast checker → · Palette generator →

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