#D9B936#D9B936

#D9B936 is a light, vivid yellow. Relative luminance 0.497; OKLCH L 79.2% C 0.146 H 94.7°. Best body text is #000000 at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#D9B936
RGBrgb(217, 185, 54)
HSLhsl(48, 68%, 53%)
HSVhsv(48, 75%, 85%)
CMYKcmyk(0%, 14.7%, 75.1%, 14.9%)
CIE-LABlab(75.90, -1.75, 66.35)
CIE-LCHlch(75.90, 66.37, 91.51°)
OKLaboklab(79.17% -0.0119 0.1456)
OKLCHoklch(79.17% 0.146 94.7)
XYZxyz(46.6326, 49.7186, 10.6297)
Luminance0.4972 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B936 #3656D9
analogous
#D96736 #D9B936 #A7D936
triadic
#D9B936 #36D9B9 #B936D9
tetradic
#D9B936 #36D967 #3656D9 #D936A7
square
#D9B936 #36D967 #3656D9 #D936A7
split-complementary
#D9B936 #36A7D9 #6736D9
monochromatic
#7D6918 #B09421 #D9B936 #E3CB69 #ECDD9D

Accessibility & contrast

On white

1.92
#D9B936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.94
#D9B936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B936
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B936#FFFFFF#000000##000000
##D9B9361.001.9210.9410.94
#FFFFFF1.921.0021.0021.00
#00000010.9421.001.001.00
##00000010.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB51E
Deuteranopia (green-blind)
#D5BF3E
Tritanopia (blue-blind)
#EBAAA0
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d9b936;
/* rgb */ color: rgb(217, 185, 54);
/* oklch */ color: oklch(79.2% 0.146 94.7);
Tailwind
colors: {
  custom: {
    50: '#e9cd77',
    500: '#d9b936',
    950: '#000000',
  },
}
SCSS
$custom: #d9b936;
$custom-light: #e9cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b936",
  "rgb": {
    "r": 217,
    "g": 185,
    "b": 54
  },
  "hsl": {
    "h": 48.221,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.79169,
    "c": 0.14604,
    "h": 94.7
  },
  "luminance": 0.49716
}

Semantic roles & 50–950 ramp

primary
#D9B936
secondary
#92A0D9
accent
#5FEB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B936

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

Preview Lab → · Contrast checker → · Palette generator →

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