#B49021#B49021

#B49021 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.9% C 0.127 H 89.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#B49021
RGBrgb(180, 144, 33)
HSLhsl(45, 69%, 42%)
HSVhsv(45, 82%, 71%)
CMYKcmyk(0%, 20%, 81.7%, 29.4%)
CIE-LABlab(61.45, 3.06, 58.92)
CIE-LCHlch(61.45, 59.00, 87.03°)
OKLaboklab(66.88% 0.0017 0.1271)
OKLCHoklch(66.88% 0.127 89.2)
XYZxyz(29.0720, 29.7616, 5.6519)
Luminance0.2976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49021 #2145B4
analogous
#B44721 #B49021 #8FB421
triadic
#B49021 #21B490 #9021B4
tetradic
#B49021 #21B447 #2145B4 #B4218F
square
#B49021 #21B447 #2145B4 #B4218F
split-complementary
#B49021 #218FB4 #4721B4
monochromatic
#4D3D0E #806718 #B49021 #DAB338 #E4C66B

Accessibility & contrast

On white

3.02
#B49021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#B49021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B49021
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49021#FFFFFF#000000##000000
##B490211.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F03
Deuteranopia (green-blind)
#AA9828
Tritanopia (blue-blind)
#C4837B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #b49021;
/* rgb */ color: rgb(180, 144, 33);
/* oklch */ color: oklch(66.9% 0.127 89.2);
Tailwind
colors: {
  custom: {
    50: '#cfb067',
    500: '#b49021',
    950: '#000000',
  },
}
SCSS
$custom: #b49021;
$custom-light: #cfb067;
$custom-dark: #000000;
JSON
{
  "hex": "#b49021",
  "rgb": {
    "r": 180,
    "g": 144,
    "b": 33
  },
  "hsl": {
    "h": 45.306,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.66883,
    "c": 0.12708,
    "h": 89.2
  },
  "luminance": 0.2976
}

Semantic roles & 50–950 ramp

primary
#B49021
secondary
#677FCA
accent
#67EC3C
background
#FDFAF6
surface
#FAF4EB
border
#D3CEC6
text
#151006
muted
#837F7A

Preview Lab

Preview with #B49021

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

Preview Lab → · Contrast checker → · Palette generator →

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