#B49A31#B49A31

#B49A31 is a light, vivid yellow. Relative luminance 0.330; OKLCH L 69.1% C 0.124 H 94.8°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#B49A31
RGBrgb(180, 154, 49)
HSLhsl(48, 57%, 45%)
HSVhsv(48, 73%, 71%)
CMYKcmyk(0%, 14.4%, 72.8%, 29.4%)
CIE-LABlab(64.19, -1.72, 55.72)
CIE-LCHlch(64.19, 55.75, 91.77°)
OKLaboklab(69.08% -0.0103 0.1236)
OKLCHoklch(69.08% 0.124 94.8)
XYZxyz(30.9340, 33.0380, 7.6527)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49A31 #314BB4
analogous
#B45931 #B49A31 #8CB431
triadic
#B49A31 #31B49A #9A31B4
tetradic
#B49A31 #31B459 #314BB4 #B4318C
square
#B49A31 #31B459 #314BB4 #B4318C
split-complementary
#B49A31 #318CB4 #5931B4
monochromatic
#544817 #847124 #B49A31 #D0B752 #DDCB82

Accessibility & contrast

On white

2.76
#B49A31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#B49A31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49A31
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49A31#FFFFFF#000000##000000
##B49A311.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9721
Deuteranopia (green-blind)
#B19F37
Tritanopia (blue-blind)
#C38E85
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b49a31;
/* rgb */ color: rgb(180, 154, 49);
/* oklch */ color: oklch(69.1% 0.124 94.8);
Tailwind
colors: {
  custom: {
    50: '#ceb770',
    500: '#b49a31',
    950: '#000000',
  },
}
SCSS
$custom: #b49a31;
$custom-light: #ceb770;
$custom-dark: #000000;
JSON
{
  "hex": "#b49a31",
  "rgb": {
    "r": 180,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 48.092,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69078,
    "c": 0.12398,
    "h": 94.8
  },
  "luminance": 0.33036
}

Semantic roles & 50–950 ramp

primary
#B49A31
secondary
#7B8AC6
accent
#66E047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49A31

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

Preview Lab → · Contrast checker → · Palette generator →

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