#D9B53B#D9B53B

#D9B53B is a light, vivid yellow. Relative luminance 0.481; OKLCH L 78.4% C 0.141 H 91.9°. Best body text is #000000 at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#D9B53B
RGBrgb(217, 181, 59)
HSLhsl(46, 68%, 54%)
HSVhsv(46, 73%, 85%)
CMYKcmyk(0%, 16.6%, 72.8%, 14.9%)
CIE-LABlab(74.90, 0.56, 63.56)
CIE-LCHlch(74.90, 63.56, 89.50°)
OKLaboklab(78.39% -0.0048 0.1406)
OKLCHoklch(78.39% 0.141 91.9)
XYZxyz(45.9311, 48.1180, 11.0053)
Luminance0.4812 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B53B #3B5FD9
analogous
#D9663B #D9B53B #AED93B
triadic
#D9B53B #3BD9B5 #B53BD9
tetradic
#D9B53B #3BD966 #3B5FD9 #D93BAE
square
#D9B53B #3BD966 #3B5FD9 #D93BAE
split-complementary
#D9B53B #3BAED9 #663BD9
monochromatic
#816919 #B49323 #D9B53B #E3C86E #EDDCA2

Accessibility & contrast

On white

1.98
#D9B53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.62
#D9B53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B53B
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B53B#FFFFFF#000000##000000
##D9B53B1.001.9810.6210.62
#FFFFFF1.981.0021.0021.00
#00000010.6221.001.001.00
##00000010.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B228
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#EBA69D
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b53b;
/* rgb */ color: rgb(217, 181, 59);
/* oklch */ color: oklch(78.4% 0.141 91.9);
Tailwind
colors: {
  custom: {
    50: '#e9ca79',
    500: '#d9b53b',
    950: '#000000',
  },
}
SCSS
$custom: #d9b53b;
$custom-light: #e9ca79;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b53b",
  "rgb": {
    "r": 217,
    "g": 181,
    "b": 59
  },
  "hsl": {
    "h": 46.329,
    "s": 67.521,
    "l": 54.118
  },
  "oklch": {
    "l": 0.78391,
    "c": 0.14067,
    "h": 91.9
  },
  "luminance": 0.48115
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9B53B

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

Preview Lab → · Contrast checker → · Palette generator →

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