#D9B836#D9B836

#D9B836 is a light, vivid yellow. Relative luminance 0.493; OKLCH L 79.0% C 0.145 H 94.1°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#D9B836
RGBrgb(217, 184, 54)
HSLhsl(48, 68%, 53%)
HSVhsv(48, 75%, 85%)
CMYKcmyk(0%, 15.2%, 75.1%, 14.9%)
CIE-LABlab(75.64, -1.23, 66.11)
CIE-LCHlch(75.64, 66.12, 91.06°)
OKLaboklab(78.97% -0.0104 0.145)
OKLCHoklch(78.97% 0.145 94.1)
XYZxyz(46.4242, 49.3017, 10.5603)
Luminance0.4930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9B836 #3657D9
analogous
#D96636 #D9B836 #A8D936
triadic
#D9B836 #36D9B8 #B836D9
tetradic
#D9B836 #36D966 #3657D9 #D936A8
square
#D9B836 #36D966 #3657D9 #D936A8
split-complementary
#D9B836 #36A8D9 #6636D9
monochromatic
#7D6818 #B09321 #D9B836 #E3CA69 #ECDC9D

Accessibility & contrast

On white

1.93
#D9B836 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.86
#D9B836 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9B836
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9B836#FFFFFF#000000##000000
##D9B8361.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB51E
Deuteranopia (green-blind)
#D4BF3E
Tritanopia (blue-blind)
#EBA99F
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #d9b836;
/* rgb */ color: rgb(217, 184, 54);
/* oklch */ color: oklch(79.0% 0.145 94.1);
Tailwind
colors: {
  custom: {
    50: '#e9cc76',
    500: '#d9b836',
    950: '#000000',
  },
}
SCSS
$custom: #d9b836;
$custom-light: #e9cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#d9b836",
  "rgb": {
    "r": 217,
    "g": 184,
    "b": 54
  },
  "hsl": {
    "h": 47.853,
    "s": 68.201,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78965,
    "c": 0.14541,
    "h": 94.1
  },
  "luminance": 0.49299
}

Semantic roles & 50–950 ramp

primary
#D9B836
secondary
#92A0D9
accent
#60EB3D
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#171309
muted
#85827B

Preview Lab

Preview with #D9B836

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

Preview Lab → · Contrast checker → · Palette generator →

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