#D9B536#D9B536

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

Color values

HEX#D9B536
RGBrgb(217, 181, 54)
HSLhsl(47, 68%, 53%)
HSVhsv(47, 75%, 85%)
CMYKcmyk(0%, 16.6%, 75.1%, 14.9%)
CIE-LABlab(74.87, 0.34, 65.38)
CIE-LCHlch(74.87, 65.38, 89.70°)
OKLaboklab(78.36% -0.0059 0.1435)
OKLCHoklch(78.36% 0.144 92.4)
XYZxyz(45.8076, 48.0686, 10.3547)
Luminance0.4807 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B536 #365AD9
analogous
#D96336 #D9B536 #ACD936
triadic
#D9B536 #36D9B5 #B536D9
tetradic
#D9B536 #36D963 #365AD9 #D936AC
square
#D9B536 #36D963 #365AD9 #D936AC
split-complementary
#D9B536 #36ACD9 #6336D9
monochromatic
#7D6718 #B09121 #D9B536 #E3C869 #ECDB9D

Accessibility & contrast

On white

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

On black

10.61
#D9B536 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B536
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B536#FFFFFF#000000##000000
##D9B5361.001.9810.6110.61
#FFFFFF1.981.0021.0021.00
#00000010.6121.001.001.00
##00000010.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B21F
Deuteranopia (green-blind)
#D2BD3D
Tritanopia (blue-blind)
#EBA69C
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #d9b536;
/* rgb */ color: rgb(217, 181, 54);
/* oklch */ color: oklch(78.4% 0.144 92.4);
Tailwind
colors: {
  custom: {
    50: '#e9ca76',
    500: '#d9b536',
    950: '#000000',
  },
}
SCSS
$custom: #d9b536;
$custom-light: #e9ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b536",
  "rgb": {
    "r": 217,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 46.748,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78356,
    "c": 0.14361,
    "h": 92.4
  },
  "luminance": 0.48066
}

Semantic roles & 50–950 ramp

primary
#D9B536
secondary
#92A2D9
accent
#63EB3D
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B536

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

Preview Lab → · Contrast checker → · Palette generator →

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