#D9B33F#D9B33F

#D9B33F is a light, vivid yellow. Relative luminance 0.474; OKLCH L 78.0% C 0.137 H 90.3°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#D9B33F
RGBrgb(217, 179, 63)
HSLhsl(45, 67%, 55%)
HSVhsv(45, 71%, 85%)
CMYKcmyk(0%, 17.5%, 71%, 14.9%)
CIE-LABlab(74.42, 1.80, 61.52)
CIE-LCHlch(74.42, 61.55, 88.32°)
OKLaboklab(78.02% -0.0007 0.137)
OKLCHoklch(78.02% 0.137 90.3)
XYZxyz(45.6351, 47.3536, 11.4382)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B33F #3F65D9
analogous
#D9663F #D9B33F #B2D93F
triadic
#D9B33F #3FD9B3 #B33FD9
tetradic
#D9B33F #3FD966 #3F65D9 #D93FB2
square
#D9B33F #3FD966 #3F65D9 #D93FB2
split-complementary
#D9B33F #3FB2D9 #663FD9
monochromatic
#846A1A #B79324 #D9B33F #E3C772 #EDDBA5

Accessibility & contrast

On white

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

On black

10.47
#D9B33F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B33F
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B33F#FFFFFF#000000##000000
##D9B33F1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b33f;
/* rgb */ color: rgb(217, 179, 63);
/* oklch */ color: oklch(78.0% 0.137 90.3);
Tailwind
colors: {
  custom: {
    50: '#e9c97b',
    500: '#d9b33f',
    950: '#000000',
  },
}
SCSS
$custom: #d9b33f;
$custom-light: #e9c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b33f",
  "rgb": {
    "r": 217,
    "g": 179,
    "b": 63
  },
  "hsl": {
    "h": 45.195,
    "s": 66.957,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78018,
    "c": 0.13701,
    "h": 90.3
  },
  "luminance": 0.47351
}

Semantic roles & 50–950 ramp

primary
#D9B33F
secondary
#9AA9DA
accent
#68EA3E
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #D9B33F

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

Preview Lab → · Contrast checker → · Palette generator →

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