#B49D31#B49D31

#B49D31 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.7% C 0.126 H 96.8°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B49D31
RGBrgb(180, 157, 49)
HSLhsl(49, 57%, 45%)
HSVhsv(49, 73%, 71%)
CMYKcmyk(0%, 12.8%, 72.8%, 29.4%)
CIE-LABlab(64.99, -3.34, 56.51)
CIE-LCHlch(64.99, 56.61, 93.38°)
OKLaboklab(69.71% -0.0149 0.1252)
OKLCHoklch(69.71% 0.126 96.8)
XYZxyz(31.4353, 34.0406, 7.8199)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D31 #3148B4
analogous
#B45C31 #B49D31 #89B431
triadic
#B49D31 #31B49D #9D31B4
tetradic
#B49D31 #31B45C #3148B4 #B43189
square
#B49D31 #31B45C #3148B4 #B43189
split-complementary
#B49D31 #3189B4 #5C31B4
monochromatic
#544917 #847324 #B49D31 #D0BA52 #DDCD82

Accessibility & contrast

On white

2.69
#B49D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B49D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49D31
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49D31#FFFFFF#000000##000000
##B49D311.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#C29188
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49d31;
/* rgb */ color: rgb(180, 157, 49);
/* oklch */ color: oklch(69.7% 0.126 96.8);
Tailwind
colors: {
  custom: {
    50: '#ceb970',
    500: '#b49d31',
    950: '#000000',
  },
}
SCSS
$custom: #b49d31;
$custom-light: #ceb970;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d31",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 49.466,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69713,
    "c": 0.1261,
    "h": 96.8
  },
  "luminance": 0.34039
}

Semantic roles & 50–950 ramp

primary
#B49D31
secondary
#7B88C6
accent
#62E047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49D31

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

Preview Lab → · Contrast checker → · Palette generator →

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