#B99A2E#B99A2E

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

Color values

HEX#B99A2E
RGBrgb(185, 154, 46)
HSLhsl(47, 60%, 45%)
HSVhsv(47, 75%, 73%)
CMYKcmyk(0%, 16.8%, 75.1%, 27.5%)
CIE-LABlab(64.66, 0.36, 57.51)
CIE-LCHlch(64.66, 57.51, 89.64°)
OKLaboklab(69.56% -0.0049 0.1265)
OKLCHoklch(69.56% 0.127 92.2)
XYZxyz(32.0581, 33.6247, 7.3859)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99A2E #2E4DB9
analogous
#B9552E #B99A2E #92B92E
triadic
#B99A2E #2EB99A #9A2EB9
tetradic
#B99A2E #2EB955 #2E4DB9 #B92E92
square
#B99A2E #2EB955 #2E4DB9 #B92E92
split-complementary
#B99A2E #2E92B9 #552EB9
monochromatic
#574816 #887122 #B99A2E #D4B651 #E0CB82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99A2E#FFFFFF#000000##000000
##B99A2E1.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)
#AB981C
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#C88D85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99a2e;
/* rgb */ color: rgb(185, 154, 46);
/* oklch */ color: oklch(69.6% 0.127 92.2);
Tailwind
colors: {
  custom: {
    50: '#d2b76f',
    500: '#b99a2e',
    950: '#000000',
  },
}
SCSS
$custom: #b99a2e;
$custom-light: #d2b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b99a2e",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 46
  },
  "hsl": {
    "h": 46.619,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.69559,
    "c": 0.12664,
    "h": 92.2
  },
  "luminance": 0.33623
}

Semantic roles & 50–950 ramp

primary
#B99A2E
secondary
#7A8CC9
accent
#68E344
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B99A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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