#B99D31#B99D31

#B99D31 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.2% C 0.127 H 94.0°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B99D31
RGBrgb(185, 157, 49)
HSLhsl(48, 58%, 46%)
HSVhsv(48, 74%, 73%)
CMYKcmyk(0%, 15.1%, 73.5%, 27.5%)
CIE-LABlab(65.48, -1.12, 57.15)
CIE-LCHlch(65.48, 57.16, 91.13°)
OKLaboklab(70.21% -0.0088 0.1264)
OKLCHoklch(70.21% 0.127 94)
XYZxyz(32.6207, 34.6518, 7.8754)
Luminance0.3465 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D31 #314DB9
analogous
#B95931 #B99D31 #91B931
triadic
#B99D31 #31B99D #9D31B9
tetradic
#B99D31 #31B959 #314DB9 #B93191
square
#B99D31 #31B959 #314DB9 #B93191
split-complementary
#B99D31 #3191B9 #5931B9
monochromatic
#584B17 #897424 #B99D31 #D2B855 #DFCC86

Accessibility & contrast

On white

2.65
#B99D31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B99D31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D31
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D31#FFFFFF#000000##000000
##B99D311.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A20
Deuteranopia (green-blind)
#B5A337
Tritanopia (blue-blind)
#C89088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d31;
/* rgb */ color: rgb(185, 157, 49);
/* oklch */ color: oklch(70.2% 0.127 94.0);
Tailwind
colors: {
  custom: {
    50: '#d2b970',
    500: '#b99d31',
    950: '#000000',
  },
}
SCSS
$custom: #b99d31;
$custom-light: #d2b970;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d31",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 49
  },
  "hsl": {
    "h": 47.647,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.70207,
    "c": 0.12667,
    "h": 94
  },
  "luminance": 0.3465
}

Semantic roles & 50–950 ramp

primary
#B99D31
secondary
#7D8DC8
accent
#66E146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99D31

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

Preview Lab → · Contrast checker → · Palette generator →

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