#B99A2D#B99A2D

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

Color values

HEX#B99A2D
RGBrgb(185, 154, 45)
HSLhsl(47, 61%, 45%)
HSVhsv(47, 76%, 73%)
CMYKcmyk(0%, 16.8%, 75.7%, 27.5%)
CIE-LABlab(64.66, 0.31, 57.88)
CIE-LCHlch(64.66, 57.88, 89.69°)
OKLaboklab(69.55% -0.0052 0.1271)
OKLCHoklch(69.55% 0.127 92.3)
XYZxyz(32.0386, 33.6169, 7.2833)
Luminance0.3362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99A2D #2D4CB9
analogous
#B9542D #B99A2D #92B92D
triadic
#B99A2D #2DB99A #9A2DB9
tetradic
#B99A2D #2DB954 #2D4CB9 #B92D92
square
#B99A2D #2DB954 #2D4CB9 #B92D92
split-complementary
#B99A2D #2D92B9 #542DB9
monochromatic
#574815 #887121 #B99A2D #D4B74F #E0CB80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99A2D#FFFFFF#000000##000000
##B99A2D1.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)
#AB981A
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#C88D85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99a2d;
/* rgb */ color: rgb(185, 154, 45);
/* oklch */ color: oklch(69.6% 0.127 92.3);
Tailwind
colors: {
  custom: {
    50: '#d2b76e',
    500: '#b99a2d',
    950: '#000000',
  },
}
SCSS
$custom: #b99a2d;
$custom-light: #d2b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#b99a2d",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 45
  },
  "hsl": {
    "h": 46.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.69552,
    "c": 0.12723,
    "h": 92.3
  },
  "luminance": 0.33615
}

Semantic roles & 50–950 ramp

primary
#B99A2D
secondary
#798BC9
accent
#67E444
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B99A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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