#B49521#B49521

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

Color values

HEX#B49521
RGBrgb(180, 149, 33)
HSLhsl(47, 69%, 42%)
HSVhsv(47, 82%, 71%)
CMYKcmyk(0%, 17.2%, 81.7%, 29.4%)
CIE-LABlab(62.77, 0.33, 60.08)
CIE-LCHlch(62.77, 60.08, 89.68°)
OKLaboklab(67.92% -0.006 0.1296)
OKLCHoklch(67.92% 0.13 92.7)
XYZxyz(29.8461, 31.3098, 5.9099)
Luminance0.3131 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49521 #2140B4
analogous
#B44C21 #B49521 #8AB421
triadic
#B49521 #21B495 #9521B4
tetradic
#B49521 #21B44C #2140B4 #B4218A
square
#B49521 #21B44C #2140B4 #B4218A
split-complementary
#B49521 #218AB4 #4C21B4
monochromatic
#4D3F0E #806A18 #B49521 #DAB838 #E4CB6B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B49521#FFFFFF#000000##000000
##B495211.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)
#A69300
Deuteranopia (green-blind)
#AE9C29
Tritanopia (blue-blind)
#C38880
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b49521;
/* rgb */ color: rgb(180, 149, 33);
/* oklch */ color: oklch(67.9% 0.130 92.7);
Tailwind
colors: {
  custom: {
    50: '#cfb368',
    500: '#b49521',
    950: '#000000',
  },
}
SCSS
$custom: #b49521;
$custom-light: #cfb368;
$custom-dark: #000000;
JSON
{
  "hex": "#b49521",
  "rgb": {
    "r": 180,
    "g": 149,
    "b": 33
  },
  "hsl": {
    "h": 47.347,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67924,
    "c": 0.12972,
    "h": 92.7
  },
  "luminance": 0.31308
}

Semantic roles & 50–950 ramp

primary
#B49521
secondary
#677CCA
accent
#61EC3C
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B49521

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

Preview Lab → · Contrast checker → · Palette generator →

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