#B99B3A#B99B3A

#B99B3A is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.9% C 0.119 H 91.6°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B99B3A
RGBrgb(185, 155, 58)
HSLhsl(46, 52%, 48%)
HSVhsv(46, 69%, 73%)
CMYKcmyk(0%, 16.2%, 68.6%, 27.5%)
CIE-LABlab(65.01, 0.42, 52.99)
CIE-LCHlch(65.01, 52.99, 89.54°)
OKLaboklab(69.86% -0.0034 0.1192)
OKLCHoklch(69.86% 0.119 91.6)
XYZxyz(32.4943, 34.0643, 8.8657)
Luminance0.3406 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B3A #3A58B9
analogous
#B95C3A #B99B3A #97B93A
triadic
#B99B3A #3AB99B #9B3AB9
tetradic
#B99B3A #3AB95C #3A58B9 #B93A97
square
#B99B3A #3AB95C #3A58B9 #B93A97
split-complementary
#B99B3A #3A97B9 #5C3AB9
monochromatic
#5C4D1D #8A742B #B99B3A #CEB462 #DCCB91

Accessibility & contrast

On white

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

On black

7.81
#B99B3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99B3A
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99B3A#FFFFFF#000000##000000
##B99B3A1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b99b3a;
/* rgb */ color: rgb(185, 155, 58);
/* oklch */ color: oklch(69.9% 0.119 91.6);
Tailwind
colors: {
  custom: {
    50: '#d2b875',
    500: '#b99b3a',
    950: '#000000',
  },
}
SCSS
$custom: #b99b3a;
$custom-light: #d2b875;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b3a",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 58
  },
  "hsl": {
    "h": 45.827,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69863,
    "c": 0.11927,
    "h": 91.6
  },
  "luminance": 0.34062
}

Semantic roles & 50–950 ramp

primary
#B99B3A
secondary
#8796C7
accent
#6EDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #B99B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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