#B49931#B49931

#B49931 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 68.9% C 0.123 H 94.1°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#B49931
RGBrgb(180, 153, 49)
HSLhsl(48, 57%, 45%)
HSVhsv(48, 73%, 71%)
CMYKcmyk(0%, 15%, 72.8%, 29.4%)
CIE-LABlab(63.92, -1.18, 55.46)
CIE-LCHlch(63.92, 55.47, 91.22°)
OKLaboklab(68.87% -0.0087 0.123)
OKLCHoklch(68.87% 0.123 94.1)
XYZxyz(30.7696, 32.7092, 7.5980)
Luminance0.3271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49931 #314CB4
analogous
#B45831 #B49931 #8DB431
triadic
#B49931 #31B499 #9931B4
tetradic
#B49931 #31B458 #314CB4 #B4318D
square
#B49931 #31B458 #314CB4 #B4318D
split-complementary
#B49931 #318DB4 #5831B4
monochromatic
#544717 #847024 #B49931 #D0B652 #DDCA82

Accessibility & contrast

On white

2.78
#B49931 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#B49931 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49931
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49931#FFFFFF#000000##000000
##B499311.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99621
Deuteranopia (green-blind)
#B09E37
Tritanopia (blue-blind)
#C38D84
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b49931;
/* rgb */ color: rgb(180, 153, 49);
/* oklch */ color: oklch(68.9% 0.123 94.1);
Tailwind
colors: {
  custom: {
    50: '#ceb670',
    500: '#b49931',
    950: '#000000',
  },
}
SCSS
$custom: #b49931;
$custom-light: #ceb670;
$custom-dark: #000000;
JSON
{
  "hex": "#b49931",
  "rgb": {
    "r": 180,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 47.634,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.68867,
    "c": 0.1233,
    "h": 94.1
  },
  "luminance": 0.32708
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B49931

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

Preview Lab → · Contrast checker → · Palette generator →

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