#D9B33B#D9B33B

#D9B33B is a light, vivid yellow. Relative luminance 0.473; OKLCH L 78.0% C 0.140 H 90.7°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#D9B33B
RGBrgb(217, 179, 59)
HSLhsl(46, 68%, 54%)
HSVhsv(46, 73%, 85%)
CMYKcmyk(0%, 17.5%, 72.8%, 14.9%)
CIE-LABlab(74.39, 1.61, 63.06)
CIE-LCHlch(74.39, 63.08, 88.54°)
OKLaboklab(77.99% -0.0017 0.1395)
OKLCHoklch(77.99% 0.14 90.7)
XYZxyz(45.5274, 47.3105, 10.8707)
Luminance0.4731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B33B #3B61D9
analogous
#D9643B #D9B33B #B0D93B
triadic
#D9B33B #3BD9B3 #B33BD9
tetradic
#D9B33B #3BD964 #3B61D9 #D93BB0
square
#D9B33B #3BD964 #3B61D9 #D93BB0
split-complementary
#D9B33B #3BB0D9 #643BD9
monochromatic
#816819 #B49123 #D9B33B #E3C76E #EDDBA2

Accessibility & contrast

On white

2.01
#D9B33B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#D9B33B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B33B
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B33B#FFFFFF#000000##000000
##D9B33B1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B128
Deuteranopia (green-blind)
#D0BB41
Tritanopia (blue-blind)
#EBA49B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d9b33b;
/* rgb */ color: rgb(217, 179, 59);
/* oklch */ color: oklch(78.0% 0.140 90.7);
Tailwind
colors: {
  custom: {
    50: '#e9c979',
    500: '#d9b33b',
    950: '#000000',
  },
}
SCSS
$custom: #d9b33b;
$custom-light: #e9c979;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b33b",
  "rgb": {
    "r": 217,
    "g": 179,
    "b": 59
  },
  "hsl": {
    "h": 45.57,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77987,
    "c": 0.13954,
    "h": 90.7
  },
  "luminance": 0.47308
}

Semantic roles & 50–950 ramp

primary
#D9B33B
secondary
#96A6DA
accent
#67EA3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B33B

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

Preview Lab → · Contrast checker → · Palette generator →

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