#B99731#B99731

#B99731 is a light, vivid yellow. Relative luminance 0.327; OKLCH L 69.0% C 0.123 H 89.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#B99731
RGBrgb(185, 151, 49)
HSLhsl(45, 58%, 46%)
HSVhsv(45, 74%, 73%)
CMYKcmyk(0%, 18.4%, 73.5%, 27.5%)
CIE-LABlab(63.89, 2.12, 55.60)
CIE-LCHlch(63.89, 55.64, 87.81°)
OKLaboklab(68.96% 0.0004 0.1231)
OKLCHoklch(68.96% 0.123 89.8)
XYZxyz(31.6304, 32.6712, 7.5453)
Luminance0.3267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99731 #3153B9
analogous
#B95331 #B99731 #97B931
triadic
#B99731 #31B997 #9731B9
tetradic
#B99731 #31B953 #3153B9 #B93197
square
#B99731 #31B953 #3153B9 #B93197
split-complementary
#B99731 #3197B9 #5331B9
monochromatic
#584817 #897024 #B99731 #D2B355 #DFC986

Accessibility & contrast

On white

2.79
#B99731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#B99731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99731
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99731#FFFFFF#000000##000000
##B997311.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89521
Deuteranopia (green-blind)
#B19F36
Tritanopia (blue-blind)
#C88A83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b99731;
/* rgb */ color: rgb(185, 151, 49);
/* oklch */ color: oklch(69.0% 0.123 89.8);
Tailwind
colors: {
  custom: {
    50: '#d2b570',
    500: '#b99731',
    950: '#000000',
  },
}
SCSS
$custom: #b99731;
$custom-light: #d2b570;
$custom-dark: #000000;
JSON
{
  "hex": "#b99731",
  "rgb": {
    "r": 185,
    "g": 151,
    "b": 49
  },
  "hsl": {
    "h": 45,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68958,
    "c": 0.12308,
    "h": 89.8
  },
  "luminance": 0.32669
}

Semantic roles & 50–950 ramp

primary
#B99731
secondary
#7D90C8
accent
#6DE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99731

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

Preview Lab → · Contrast checker → · Palette generator →

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