#B99A34#B99A34

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

Color values

HEX#B99A34
RGBrgb(185, 154, 52)
HSLhsl(46, 56%, 46%)
HSVhsv(46, 72%, 73%)
CMYKcmyk(0%, 16.8%, 71.9%, 27.5%)
CIE-LABlab(64.70, 0.64, 55.19)
CIE-LCHlch(64.70, 55.20, 89.33°)
OKLaboklab(69.6% -0.0034 0.1228)
OKLCHoklch(69.6% 0.123 91.6)
XYZxyz(32.1848, 33.6753, 8.0529)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99A34 #3453B9
analogous
#B95834 #B99A34 #96B934
triadic
#B99A34 #34B99A #9A34B9
tetradic
#B99A34 #34B958 #3453B9 #B93496
square
#B99A34 #34B958 #3453B9 #B93496
split-complementary
#B99A34 #3496B9 #5834B9
monochromatic
#594A19 #897227 #B99A34 #D1B55A #DECA89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99A34#FFFFFF#000000##000000
##B99A341.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)
#AB9825
Deuteranopia (green-blind)
#B3A139
Tritanopia (blue-blind)
#C88D85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99a34;
/* rgb */ color: rgb(185, 154, 52);
/* oklch */ color: oklch(69.6% 0.123 91.6);
Tailwind
colors: {
  custom: {
    50: '#d2b772',
    500: '#b99a34',
    950: '#000000',
  },
}
SCSS
$custom: #b99a34;
$custom-light: #d2b772;
$custom-dark: #000000;
JSON
{
  "hex": "#b99a34",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 52
  },
  "hsl": {
    "h": 46.015,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69604,
    "c": 0.12285,
    "h": 91.6
  },
  "luminance": 0.33673
}

Semantic roles & 50–950 ramp

primary
#B99A34
secondary
#8191C8
accent
#6CDF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99A34

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

Preview Lab → · Contrast checker → · Palette generator →

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