#B49F31#B49F31

#B49F31 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.1% C 0.128 H 98.1°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B49F31
RGBrgb(180, 159, 49)
HSLhsl(50, 57%, 45%)
HSVhsv(50, 73%, 71%)
CMYKcmyk(0%, 11.7%, 72.8%, 29.4%)
CIE-LABlab(65.53, -4.41, 57.04)
CIE-LCHlch(65.53, 57.21, 94.42°)
OKLaboklab(70.14% -0.0179 0.1263)
OKLCHoklch(70.14% 0.128 98.1)
XYZxyz(31.7765, 34.7229, 7.9336)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49F31 #3146B4
analogous
#B45E31 #B49F31 #87B431
triadic
#B49F31 #31B49F #9F31B4
tetradic
#B49F31 #31B45E #3146B4 #B43187
square
#B49F31 #31B45E #3146B4 #B43187
split-complementary
#B49F31 #3187B4 #5E31B4
monochromatic
#544A17 #847524 #B49F31 #D0BC52 #DDCF82

Accessibility & contrast

On white

2.64
#B49F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B49F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49F31
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49F31#FFFFFF#000000##000000
##B49F311.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#C29389
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b49f31;
/* rgb */ color: rgb(180, 159, 49);
/* oklch */ color: oklch(70.1% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#cebb71',
    500: '#b49f31',
    950: '#000000',
  },
}
SCSS
$custom: #b49f31;
$custom-light: #cebb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b49f31",
  "rgb": {
    "r": 180,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 50.382,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70139,
    "c": 0.12759,
    "h": 98.1
  },
  "luminance": 0.34721
}

Semantic roles & 50–950 ramp

primary
#B49F31
secondary
#7B87C6
accent
#60E047
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49F31

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

Preview Lab → · Contrast checker → · Palette generator →

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