#D9B33A#D9B33A

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

Color values

HEX#D9B33A
RGBrgb(217, 179, 58)
HSLhsl(46, 68%, 54%)
HSVhsv(46, 73%, 85%)
CMYKcmyk(0%, 17.5%, 73.3%, 14.9%)
CIE-LABlab(74.38, 1.57, 63.43)
CIE-LCHlch(74.38, 63.45, 88.59°)
OKLaboklab(77.98% -0.002 0.1401)
OKLCHoklch(77.98% 0.14 90.8)
XYZxyz(45.5017, 47.3002, 10.7354)
Luminance0.4730 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B33A #3A60D9
analogous
#D9643A #D9B33A #B0D93A
triadic
#D9B33A #3AD9B3 #B33AD9
tetradic
#D9B33A #3AD964 #3A60D9 #D93AB0
square
#D9B33A #3AD964 #3A60D9 #D93AB0
split-complementary
#D9B33A #3AB0D9 #643AD9
monochromatic
#806719 #B39123 #D9B33A #E3C76D #EDDBA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B33A#FFFFFF#000000##000000
##D9B33A1.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)
#C7B127
Deuteranopia (green-blind)
#D0BB41
Tritanopia (blue-blind)
#EBA49B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d9b33a;
/* rgb */ color: rgb(217, 179, 58);
/* oklch */ color: oklch(78.0% 0.140 90.8);
Tailwind
colors: {
  custom: {
    50: '#e9c978',
    500: '#d9b33a',
    950: '#000000',
  },
}
SCSS
$custom: #d9b33a;
$custom-light: #e9c978;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b33a",
  "rgb": {
    "r": 217,
    "g": 179,
    "b": 58
  },
  "hsl": {
    "h": 45.66,
    "s": 67.66,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7798,
    "c": 0.14014,
    "h": 90.8
  },
  "luminance": 0.47297
}

Semantic roles & 50–950 ramp

primary
#D9B33A
secondary
#95A6D9
accent
#67EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B33A

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

Preview Lab → · Contrast checker → · Palette generator →

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