#B99F31#B99F31

#B99F31 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.6% C 0.128 H 95.3°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#B99F31
RGBrgb(185, 159, 49)
HSLhsl(49, 58%, 46%)
HSVhsv(49, 74%, 73%)
CMYKcmyk(0%, 14.1%, 73.5%, 27.5%)
CIE-LABlab(66.01, -2.20, 57.66)
CIE-LCHlch(66.01, 57.71, 92.18°)
OKLaboklab(70.63% -0.0119 0.1275)
OKLCHoklch(70.63% 0.128 95.3)
XYZxyz(32.9618, 35.3341, 7.9891)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99F31 #314BB9
analogous
#B95B31 #B99F31 #8FB931
triadic
#B99F31 #31B99F #9F31B9
tetradic
#B99F31 #31B95B #314BB9 #B9318F
square
#B99F31 #31B95B #314BB9 #B9318F
split-complementary
#B99F31 #318FB9 #5B31B9
monochromatic
#584C17 #897524 #B99F31 #D2BA55 #DFCE86

Accessibility & contrast

On white

2.60
#B99F31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#B99F31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99F31
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99F31#FFFFFF#000000##000000
##B99F311.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1F
Deuteranopia (green-blind)
#B6A438
Tritanopia (blue-blind)
#C89289
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b99f31;
/* rgb */ color: rgb(185, 159, 49);
/* oklch */ color: oklch(70.6% 0.128 95.3);
Tailwind
colors: {
  custom: {
    50: '#d2bb71',
    500: '#b99f31',
    950: '#000000',
  },
}
SCSS
$custom: #b99f31;
$custom-light: #d2bb71;
$custom-dark: #000000;
JSON
{
  "hex": "#b99f31",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 48.529,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70627,
    "c": 0.12801,
    "h": 95.3
  },
  "luminance": 0.35332
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B99F31

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

Preview Lab → · Contrast checker → · Palette generator →

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