#B49E31#B49E31

#B49E31 is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.9% C 0.127 H 97.4°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#B49E31
RGBrgb(180, 158, 49)
HSLhsl(50, 57%, 45%)
HSVhsv(50, 73%, 71%)
CMYKcmyk(0%, 12.2%, 72.8%, 29.4%)
CIE-LABlab(65.26, -3.87, 56.78)
CIE-LCHlch(65.26, 56.91, 93.90°)
OKLaboklab(69.93% -0.0164 0.1258)
OKLCHoklch(69.93% 0.127 97.4)
XYZxyz(31.6052, 34.3804, 7.8765)
Luminance0.3438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49E31 #3147B4
analogous
#B45D31 #B49E31 #88B431
triadic
#B49E31 #31B49E #9E31B4
tetradic
#B49E31 #31B45D #3147B4 #B43188
square
#B49E31 #31B45D #3147B4 #B43188
split-complementary
#B49E31 #3188B4 #5D31B4
monochromatic
#544A17 #847424 #B49E31 #D0BB52 #DDCE82

Accessibility & contrast

On white

2.67
#B49E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#B49E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49E31
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49E31#FFFFFF#000000##000000
##B49E311.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#B4A238
Tritanopia (blue-blind)
#C29288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49e31;
/* rgb */ color: rgb(180, 158, 49);
/* oklch */ color: oklch(69.9% 0.127 97.4);
Tailwind
colors: {
  custom: {
    50: '#ceba70',
    500: '#b49e31',
    950: '#000000',
  },
}
SCSS
$custom: #b49e31;
$custom-light: #ceba70;
$custom-dark: #000000;
JSON
{
  "hex": "#b49e31",
  "rgb": {
    "r": 180,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 49.924,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69926,
    "c": 0.12683,
    "h": 97.4
  },
  "luminance": 0.34379
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B49E31

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

Preview Lab → · Contrast checker → · Palette generator →

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