#B99A3A#B99A3A

#B99A3A is a light, moderate yellow. Relative luminance 0.337; OKLCH L 69.7% C 0.119 H 90.9°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#B99A3A
RGBrgb(185, 154, 58)
HSLhsl(45, 52%, 48%)
HSVhsv(45, 69%, 73%)
CMYKcmyk(0%, 16.8%, 68.6%, 27.5%)
CIE-LABlab(64.75, 0.96, 52.72)
CIE-LCHlch(64.75, 52.73, 88.95°)
OKLaboklab(69.66% -0.0018 0.1186)
OKLCHoklch(69.66% 0.119 90.9)
XYZxyz(32.3286, 33.7329, 8.8105)
Luminance0.3373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99A3A #3A59B9
analogous
#B95A3A #B99A3A #99B93A
triadic
#B99A3A #3AB99A #9A3AB9
tetradic
#B99A3A #3AB95A #3A59B9 #B93A99
square
#B99A3A #3AB95A #3A59B9 #B93A99
split-complementary
#B99A3A #3A99B9 #5A3AB9
monochromatic
#5C4C1D #8A732B #B99A3A #CEB462 #DCCA91

Accessibility & contrast

On white

2.71
#B99A3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#B99A3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99A3A
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99A3A#FFFFFF#000000##000000
##B99A3A1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB982E
Deuteranopia (green-blind)
#B2A13F
Tritanopia (blue-blind)
#C88E86
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99a3a;
/* rgb */ color: rgb(185, 154, 58);
/* oklch */ color: oklch(69.7% 0.119 90.9);
Tailwind
colors: {
  custom: {
    50: '#d2b775',
    500: '#b99a3a',
    950: '#000000',
  },
}
SCSS
$custom: #b99a3a;
$custom-light: #d2b775;
$custom-dark: #000000;
JSON
{
  "hex": "#b99a3a",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 58
  },
  "hsl": {
    "h": 45.354,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.69655,
    "c": 0.11865,
    "h": 90.9
  },
  "luminance": 0.33731
}

Semantic roles & 50–950 ramp

primary
#B99A3A
secondary
#8797C7
accent
#6FDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #B99A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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