#B49217#B49217

#B49217 is a light, vivid yellow. Relative luminance 0.303; OKLCH L 67.3% C 0.132 H 91.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#B49217
RGBrgb(180, 146, 23)
HSLhsl(47, 77%, 40%)
HSVhsv(47, 87%, 71%)
CMYKcmyk(0%, 18.9%, 87.2%, 29.4%)
CIE-LABlab(61.93, 1.68, 62.17)
CIE-LCHlch(61.93, 62.19, 88.45°)
OKLaboklab(67.25% -0.003 0.1321)
OKLCHoklch(67.25% 0.132 91.3)
XYZxyz(29.2578, 30.3249, 5.1227)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49217 #1739B4
analogous
#B44317 #B49217 #88B417
triadic
#B49217 #17B492 #9217B4
tetradic
#B49217 #17B443 #1739B4 #B41788
square
#B49217 #17B443 #1739B4 #B41788
split-complementary
#B49217 #1788B4 #4317B4
monochromatic
#473A09 #7E6610 #B49217 #E3BA25 #EACB5B

Accessibility & contrast

On white

2.97
#B49217 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#B49217 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49217
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49217#FFFFFF#000000##000000
##B492171.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49000
Deuteranopia (green-blind)
#AC9A21
Tritanopia (blue-blind)
#C4857D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b49217;
/* rgb */ color: rgb(180, 146, 23);
/* oklch */ color: oklch(67.3% 0.132 91.3);
Tailwind
colors: {
  custom: {
    50: '#cfb163',
    500: '#b49217',
    950: '#000000',
  },
}
SCSS
$custom: #b49217;
$custom-light: #cfb163;
$custom-dark: #000000;
JSON
{
  "hex": "#b49217",
  "rgb": {
    "r": 180,
    "g": 146,
    "b": 23
  },
  "hsl": {
    "h": 47.006,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67252,
    "c": 0.1321,
    "h": 91.3
  },
  "luminance": 0.30323
}

Semantic roles & 50–950 ramp

primary
#B49217
secondary
#5972CE
accent
#5DF434
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49217

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

Preview Lab → · Contrast checker → · Palette generator →

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