#D9B336#D9B336

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

Color values

HEX#D9B336
RGBrgb(217, 179, 54)
HSLhsl(46, 68%, 53%)
HSVhsv(46, 75%, 85%)
CMYKcmyk(0%, 17.5%, 75.1%, 14.9%)
CIE-LABlab(74.36, 1.39, 64.89)
CIE-LCHlch(74.36, 64.91, 88.77°)
OKLaboklab(77.95% -0.0029 0.1425)
OKLCHoklch(77.95% 0.142 91.2)
XYZxyz(45.4038, 47.2611, 10.2202)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B336 #365CD9
analogous
#D96136 #D9B336 #AED936
triadic
#D9B336 #36D9B3 #B336D9
tetradic
#D9B336 #36D961 #365CD9 #D936AE
square
#D9B336 #36D961 #365CD9 #D936AE
split-complementary
#D9B336 #36AED9 #6136D9
monochromatic
#7D6518 #B08F21 #D9B336 #E3C669 #ECDA9D

Accessibility & contrast

On white

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

On black

10.45
#D9B336 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B336
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B336#FFFFFF#000000##000000
##D9B3361.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9b336;
/* rgb */ color: rgb(217, 179, 54);
/* oklch */ color: oklch(78.0% 0.142 91.2);
Tailwind
colors: {
  custom: {
    50: '#e9c976',
    500: '#d9b336',
    950: '#000000',
  },
}
SCSS
$custom: #d9b336;
$custom-light: #e9c976;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b336",
  "rgb": {
    "r": 217,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 46.012,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77953,
    "c": 0.14248,
    "h": 91.2
  },
  "luminance": 0.47258
}

Semantic roles & 50–950 ramp

primary
#D9B336
secondary
#92A3D9
accent
#65EB3D
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B336

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

Preview Lab → · Contrast checker → · Palette generator →

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