#B99E31#B99E31

#B99E31 is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.4% C 0.127 H 94.7°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#B99E31
RGBrgb(185, 158, 49)
HSLhsl(48, 58%, 46%)
HSVhsv(48, 74%, 73%)
CMYKcmyk(0%, 14.6%, 73.5%, 27.5%)
CIE-LABlab(65.74, -1.66, 57.41)
CIE-LCHlch(65.74, 57.43, 91.66°)
OKLaboklab(70.42% -0.0104 0.1269)
OKLCHoklch(70.42% 0.127 94.7)
XYZxyz(32.7905, 34.9916, 7.9320)
Luminance0.3499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99E31 #314CB9
analogous
#B95A31 #B99E31 #90B931
triadic
#B99E31 #31B99E #9E31B9
tetradic
#B99E31 #31B95A #314CB9 #B93190
square
#B99E31 #31B95A #314CB9 #B93190
split-complementary
#B99E31 #3190B9 #5A31B9
monochromatic
#584B17 #897524 #B99E31 #D2B955 #DFCD86

Accessibility & contrast

On white

2.63
#B99E31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#B99E31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99E31
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99E31#FFFFFF#000000##000000
##B99E311.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1F
Deuteranopia (green-blind)
#B6A337
Tritanopia (blue-blind)
#C89188
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b99e31;
/* rgb */ color: rgb(185, 158, 49);
/* oklch */ color: oklch(70.4% 0.127 94.7);
Tailwind
colors: {
  custom: {
    50: '#d2ba71',
    500: '#b99e31',
    950: '#000000',
  },
}
SCSS
$custom: #b99e31;
$custom-light: #d2ba71;
$custom-dark: #000000;
JSON
{
  "hex": "#b99e31",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 49
  },
  "hsl": {
    "h": 48.088,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70417,
    "c": 0.12733,
    "h": 94.7
  },
  "luminance": 0.3499
}

Semantic roles & 50–950 ramp

primary
#B99E31
secondary
#7D8CC8
accent
#65E146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99E31

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

Preview Lab → · Contrast checker → · Palette generator →

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