#B49522#B49522

#B49522 is a light, vivid yellow. Relative luminance 0.313; OKLCH L 67.9% C 0.129 H 92.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#B49522
RGBrgb(180, 149, 34)
HSLhsl(47, 68%, 42%)
HSVhsv(47, 81%, 71%)
CMYKcmyk(0%, 17.2%, 81.1%, 29.4%)
CIE-LABlab(62.77, 0.36, 59.77)
CIE-LCHlch(62.77, 59.77, 89.65°)
OKLaboklab(67.93% -0.0059 0.1291)
OKLCHoklch(67.93% 0.129 92.6)
XYZxyz(29.8603, 31.3155, 5.9848)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49522 #2241B4
analogous
#B44C22 #B49522 #8AB422
triadic
#B49522 #22B495 #9522B4
tetradic
#B49522 #22B44C #2241B4 #B4228A
square
#B49522 #22B44C #2241B4 #B4228A
split-complementary
#B49522 #228AB4 #4C22B4
monochromatic
#4D400F #816A18 #B49522 #DAB83A #E3CA6D

Accessibility & contrast

On white

2.89
#B49522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.26
#B49522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49522
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49522#FFFFFF#000000##000000
##B495221.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69302
Deuteranopia (green-blind)
#AE9C2A
Tritanopia (blue-blind)
#C38880
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b49522;
/* rgb */ color: rgb(180, 149, 34);
/* oklch */ color: oklch(67.9% 0.129 92.6);
Tailwind
colors: {
  custom: {
    50: '#cfb368',
    500: '#b49522',
    950: '#000000',
  },
}
SCSS
$custom: #b49522;
$custom-light: #cfb368;
$custom-dark: #000000;
JSON
{
  "hex": "#b49522",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 47.26,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67929,
    "c": 0.12926,
    "h": 92.6
  },
  "luminance": 0.31314
}

Semantic roles & 50–950 ramp

primary
#B49522
secondary
#687DCA
accent
#62EB3D
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B49522

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

Preview Lab → · Contrast checker → · Palette generator →

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