#B99A31#B99A31

#B99A31 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.6% C 0.125 H 91.9°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B99A31
RGBrgb(185, 154, 49)
HSLhsl(46, 58%, 46%)
HSVhsv(46, 74%, 73%)
CMYKcmyk(0%, 16.8%, 73.5%, 27.5%)
CIE-LABlab(64.68, 0.49, 56.37)
CIE-LCHlch(64.68, 56.37, 89.50°)
OKLaboklab(69.58% -0.0042 0.1247)
OKLCHoklch(69.58% 0.125 91.9)
XYZxyz(32.1193, 33.6492, 7.7083)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99A31 #3150B9
analogous
#B95631 #B99A31 #94B931
triadic
#B99A31 #31B99A #9A31B9
tetradic
#B99A31 #31B956 #3150B9 #B93194
square
#B99A31 #31B956 #3150B9 #B93194
split-complementary
#B99A31 #3194B9 #5631B9
monochromatic
#584917 #897224 #B99A31 #D2B655 #DFCA86

Accessibility & contrast

On white

2.72
#B99A31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#B99A31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99A31
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99A31#FFFFFF#000000##000000
##B99A311.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9821
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#C88D85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99a31;
/* rgb */ color: rgb(185, 154, 49);
/* oklch */ color: oklch(69.6% 0.125 91.9);
Tailwind
colors: {
  custom: {
    50: '#d2b770',
    500: '#b99a31',
    950: '#000000',
  },
}
SCSS
$custom: #b99a31;
$custom-light: #d2b770;
$custom-dark: #000000;
JSON
{
  "hex": "#b99a31",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 46.324,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6958,
    "c": 0.12479,
    "h": 91.9
  },
  "luminance": 0.33647
}

Semantic roles & 50–950 ramp

primary
#B99A31
secondary
#7D8FC8
accent
#6AE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99A31

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

Preview Lab → · Contrast checker → · Palette generator →

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