#B99B31#B99B31

#B99B31 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.125 H 92.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#B99B31
RGBrgb(185, 155, 49)
HSLhsl(47, 58%, 46%)
HSVhsv(47, 74%, 73%)
CMYKcmyk(0%, 16.2%, 73.5%, 27.5%)
CIE-LABlab(64.95, -0.04, 56.63)
CIE-LCHlch(64.95, 56.63, 90.05°)
OKLaboklab(69.79% -0.0058 0.1253)
OKLCHoklch(69.79% 0.125 92.6)
XYZxyz(32.2851, 33.9806, 7.7635)
Luminance0.3398 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B31 #314FB9
analogous
#B95731 #B99B31 #93B931
triadic
#B99B31 #31B99B #9B31B9
tetradic
#B99B31 #31B957 #314FB9 #B93193
square
#B99B31 #31B957 #314FB9 #B93193
split-complementary
#B99B31 #3193B9 #5731B9
monochromatic
#584A17 #897224 #B99B31 #D2B655 #DFCB86

Accessibility & contrast

On white

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

On black

7.80
#B99B31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99B31
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99B31#FFFFFF#000000##000000
##B99B311.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b99b31;
/* rgb */ color: rgb(185, 155, 49);
/* oklch */ color: oklch(69.8% 0.125 92.6);
Tailwind
colors: {
  custom: {
    50: '#d2b870',
    500: '#b99b31',
    950: '#000000',
  },
}
SCSS
$custom: #b99b31;
$custom-light: #d2b870;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b31",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 46.765,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69789,
    "c": 0.1254,
    "h": 92.6
  },
  "luminance": 0.33979
}

Semantic roles & 50–950 ramp

primary
#B99B31
secondary
#7D8EC8
accent
#69E146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99B31

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

Preview Lab → · Contrast checker → · Palette generator →

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