#B49D17#B49D17

#B49D17 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.139 H 98.2°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#B49D17
RGBrgb(180, 157, 23)
HSLhsl(51, 77%, 40%)
HSVhsv(51, 87%, 71%)
CMYKcmyk(0%, 12.8%, 87.2%, 29.4%)
CIE-LABlab(64.87, -4.26, 64.54)
CIE-LCHlch(64.87, 64.68, 93.78°)
OKLaboklab(69.57% -0.0198 0.1374)
OKLCHoklch(69.57% 0.139 98.2)
XYZxyz(31.0357, 33.8808, 5.7154)
Luminance0.3388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D17 #172EB4
analogous
#B44E17 #B49D17 #7DB417
triadic
#B49D17 #17B49D #9D17B4
tetradic
#B49D17 #17B44E #172EB4 #B4177D
square
#B49D17 #17B44E #172EB4 #B4177D
split-complementary
#B49D17 #177DB4 #4E17B4
monochromatic
#473E09 #7E6E10 #B49D17 #E3C725 #EAD55B

Accessibility & contrast

On white

2.70
#B49D17 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#B49D17 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49D17
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49D17#FFFFFF#000000##000000
##B49D171.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#B4A124
Tritanopia (blue-blind)
#C39086
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b49d17;
/* rgb */ color: rgb(180, 157, 23);
/* oklch */ color: oklch(69.6% 0.139 98.2);
Tailwind
colors: {
  custom: {
    50: '#cfb965',
    500: '#b49d17',
    950: '#000000',
  },
}
SCSS
$custom: #b49d17;
$custom-light: #cfb965;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d17",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 23
  },
  "hsl": {
    "h": 51.21,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.69572,
    "c": 0.13878,
    "h": 98.2
  },
  "luminance": 0.33879
}

Semantic roles & 50–950 ramp

primary
#B49D17
secondary
#596ACE
accent
#50F434
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151106
muted
#83807A

Preview Lab

Preview with #B49D17

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

Preview Lab → · Contrast checker → · Palette generator →

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