#B99A2C#B99A2C

#B99A2C is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.5% C 0.128 H 92.4°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#B99A2C
RGBrgb(185, 154, 44)
HSLhsl(47, 62%, 45%)
HSVhsv(47, 76%, 73%)
CMYKcmyk(0%, 16.8%, 76.2%, 27.5%)
CIE-LABlab(64.65, 0.27, 58.24)
CIE-LCHlch(64.65, 58.24, 89.73°)
OKLaboklab(69.55% -0.0054 0.1277)
OKLCHoklch(69.55% 0.128 92.4)
XYZxyz(32.0196, 33.6093, 7.1831)
Luminance0.3361 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99A2C #2C4BB9
analogous
#B9542C #B99A2C #91B92C
triadic
#B99A2C #2CB99A #9A2CB9
tetradic
#B99A2C #2CB954 #2C4BB9 #B92C91
square
#B99A2C #2CB954 #2C4BB9 #B92C91
split-complementary
#B99A2C #2C91B9 #542CB9
monochromatic
#564814 #887120 #B99A2C #D5B74D #E1CB7F

Accessibility & contrast

On white

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

On black

7.72
#B99A2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99A2C
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99A2C#FFFFFF#000000##000000
##B99A2C1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9818
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#C88D85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99a2c;
/* rgb */ color: rgb(185, 154, 44);
/* oklch */ color: oklch(69.5% 0.128 92.4);
Tailwind
colors: {
  custom: {
    50: '#d2b76d',
    500: '#b99a2c',
    950: '#000000',
  },
}
SCSS
$custom: #b99a2c;
$custom-light: #d2b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#b99a2c",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 46.809,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.69545,
    "c": 0.1278,
    "h": 92.4
  },
  "luminance": 0.33607
}

Semantic roles & 50–950 ramp

primary
#B99A2C
secondary
#788AC9
accent
#67E543
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B99A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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