#B99C31#B99C31

#B99C31 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.0% C 0.126 H 93.3°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B99C31
RGBrgb(185, 156, 49)
HSLhsl(47, 58%, 46%)
HSVhsv(47, 74%, 73%)
CMYKcmyk(0%, 15.7%, 73.5%, 27.5%)
CIE-LABlab(65.21, -0.58, 56.89)
CIE-LCHlch(65.21, 56.89, 90.59°)
OKLaboklab(70% -0.0073 0.1258)
OKLCHoklch(70% 0.126 93.3)
XYZxyz(32.4522, 34.3148, 7.8193)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99C31 #314EB9
analogous
#B95831 #B99C31 #92B931
triadic
#B99C31 #31B99C #9C31B9
tetradic
#B99C31 #31B958 #314EB9 #B93192
square
#B99C31 #31B958 #314EB9 #B93192
split-complementary
#B99C31 #3192B9 #5831B9
monochromatic
#584A17 #897324 #B99C31 #D2B755 #DFCC86

Accessibility & contrast

On white

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

On black

7.86
#B99C31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99C31
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99C31#FFFFFF#000000##000000
##B99C311.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9920
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#C88F87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b99c31;
/* rgb */ color: rgb(185, 156, 49);
/* oklch */ color: oklch(70.0% 0.126 93.3);
Tailwind
colors: {
  custom: {
    50: '#d2b870',
    500: '#b99c31',
    950: '#000000',
  },
}
SCSS
$custom: #b99c31;
$custom-light: #d2b870;
$custom-dark: #000000;
JSON
{
  "hex": "#b99c31",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 47.206,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69998,
    "c": 0.12602,
    "h": 93.3
  },
  "luminance": 0.34313
}

Semantic roles & 50–950 ramp

primary
#B99C31
secondary
#7D8DC8
accent
#67E146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99C31

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

Preview Lab → · Contrast checker → · Palette generator →

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