#B49222#B49222

#B49222 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 67.3% C 0.128 H 90.5°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#B49222
RGBrgb(180, 146, 34)
HSLhsl(46, 68%, 42%)
HSVhsv(46, 81%, 71%)
CMYKcmyk(0%, 18.9%, 81.1%, 29.4%)
CIE-LABlab(61.98, 2.00, 59.07)
CIE-LCHlch(61.98, 59.11, 88.06°)
OKLaboklab(67.3% -0.0012 0.1276)
OKLCHoklch(67.3% 0.128 90.5)
XYZxyz(29.3918, 30.3785, 5.8286)
Luminance0.3038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49222 #2244B4
analogous
#B44922 #B49222 #8DB422
triadic
#B49222 #22B492 #9222B4
tetradic
#B49222 #22B449 #2244B4 #B4228D
square
#B49222 #22B449 #2244B4 #B4228D
split-complementary
#B49222 #228DB4 #4922B4
monochromatic
#4D3E0F #816818 #B49222 #DAB43A #E3C86D

Accessibility & contrast

On white

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

On black

7.08
#B49222 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49222
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49222#FFFFFF#000000##000000
##B492221.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49004
Deuteranopia (green-blind)
#AC9A29
Tritanopia (blue-blind)
#C3857D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #b49222;
/* rgb */ color: rgb(180, 146, 34);
/* oklch */ color: oklch(67.3% 0.128 90.5);
Tailwind
colors: {
  custom: {
    50: '#cfb168',
    500: '#b49222',
    950: '#000000',
  },
}
SCSS
$custom: #b49222;
$custom-light: #cfb168;
$custom-dark: #000000;
JSON
{
  "hex": "#b49222",
  "rgb": {
    "r": 180,
    "g": 146,
    "b": 34
  },
  "hsl": {
    "h": 46.027,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67303,
    "c": 0.12762,
    "h": 90.5
  },
  "luminance": 0.30377
}

Semantic roles & 50–950 ramp

primary
#B49222
secondary
#687FCA
accent
#65EB3D
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151007
muted
#837F7A

Preview Lab

Preview with #B49222

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

Preview Lab → · Contrast checker → · Palette generator →

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