#B99B38#B99B38

#B99B38 is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.121 H 91.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#B99B38
RGBrgb(185, 155, 56)
HSLhsl(46, 54%, 47%)
HSVhsv(46, 70%, 73%)
CMYKcmyk(0%, 16.2%, 69.7%, 27.5%)
CIE-LABlab(65.00, 0.31, 53.83)
CIE-LCHlch(65.00, 53.83, 89.67°)
OKLaboklab(69.85% -0.0039 0.1207)
OKLCHoklch(69.85% 0.121 91.9)
XYZxyz(32.4444, 34.0444, 8.6029)
Luminance0.3404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B38 #3856B9
analogous
#B95B38 #B99B38 #96B938
triadic
#B99B38 #38B99B #9B38B9
tetradic
#B99B38 #38B95B #3856B9 #B93896
square
#B99B38 #38B95B #3856B9 #B93896
split-complementary
#B99B38 #3896B9 #5B38B9
monochromatic
#5B4C1C #8A742A #B99B38 #CFB55F #DDCB8E

Accessibility & contrast

On white

2.69
#B99B38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.81
#B99B38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99B38
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99B38#FFFFFF#000000##000000
##B99B381.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992B
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#C88F87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b99b38;
/* rgb */ color: rgb(185, 155, 56);
/* oklch */ color: oklch(69.8% 0.121 91.9);
Tailwind
colors: {
  custom: {
    50: '#d2b874',
    500: '#b99b38',
    950: '#000000',
  },
}
SCSS
$custom: #b99b38;
$custom-light: #d2b874;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b38",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 56
  },
  "hsl": {
    "h": 46.047,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.69845,
    "c": 0.12071,
    "h": 91.9
  },
  "luminance": 0.34043
}

Semantic roles & 50–950 ramp

primary
#B99B38
secondary
#8595C8
accent
#6DDD4B
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99B38

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

Preview Lab → · Contrast checker → · Palette generator →

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