#D9B33C#D9B33C

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

Color values

HEX#D9B33C
RGBrgb(217, 179, 60)
HSLhsl(45, 67%, 54%)
HSVhsv(45, 72%, 85%)
CMYKcmyk(0%, 17.5%, 72.4%, 14.9%)
CIE-LABlab(74.39, 1.66, 62.68)
CIE-LCHlch(74.39, 62.70, 88.49°)
OKLaboklab(78% -0.0015 0.1389)
OKLCHoklch(78% 0.139 90.6)
XYZxyz(45.5535, 47.3209, 11.0086)
Luminance0.4732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B33C #3C62D9
analogous
#D9653C #D9B33C #B0D93C
triadic
#D9B33C #3CD9B3 #B33CD9
tetradic
#D9B33C #3CD965 #3C62D9 #D93CB0
square
#D9B33C #3CD965 #3C62D9 #D93CB0
split-complementary
#D9B33C #3CB0D9 #653CD9
monochromatic
#816819 #B59123 #D9B33C #E3C76F #EDDBA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9B33C#FFFFFF#000000##000000
##D9B33C1.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)
#C7B12A
Deuteranopia (green-blind)
#D0BB42
Tritanopia (blue-blind)
#EBA49B
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #d9b33c;
/* rgb */ color: rgb(217, 179, 60);
/* oklch */ color: oklch(78.0% 0.139 90.6);
Tailwind
colors: {
  custom: {
    50: '#e9c979',
    500: '#d9b33c',
    950: '#000000',
  },
}
SCSS
$custom: #d9b33c;
$custom-light: #e9c979;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b33c",
  "rgb": {
    "r": 217,
    "g": 179,
    "b": 60
  },
  "hsl": {
    "h": 45.478,
    "s": 67.382,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77995,
    "c": 0.13892,
    "h": 90.6
  },
  "luminance": 0.47318
}

Semantic roles & 50–950 ramp

primary
#D9B33C
secondary
#97A7DA
accent
#67EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B33C

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

Preview Lab → · Contrast checker → · Palette generator →

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