#B99B40#B99B40

#B99B40 is a light, moderate yellow. Relative luminance 0.341; OKLCH L 69.9% C 0.115 H 90.8°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#B99B40
RGBrgb(185, 155, 64)
HSLhsl(45, 49%, 49%)
HSVhsv(45, 65%, 73%)
CMYKcmyk(0%, 16.2%, 65.4%, 27.5%)
CIE-LABlab(65.06, 0.78, 50.39)
CIE-LCHlch(65.06, 50.40, 89.11°)
OKLaboklab(69.92% -0.0016 0.1147)
OKLCHoklch(69.92% 0.115 90.8)
XYZxyz(32.6560, 34.1290, 9.7170)
Luminance0.3413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B40 #405EB9
analogous
#B95F40 #B99B40 #9BB940
triadic
#B99B40 #40B99B #9B40B9
tetradic
#B99B40 #40B95F #405EB9 #B9409B
square
#B99B40 #40B95F #405EB9 #B9409B
split-complementary
#B99B40 #409BB9 #5F40B9
monochromatic
#5E4F21 #8C7530 #B99B40 #CCB46B #DBCB98

Accessibility & contrast

On white

2.68
#B99B40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.83
#B99B40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99B40
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99B40#FFFFFF#000000##000000
##B99B401.002.687.837.83
#FFFFFF2.681.0021.0021.00
#0000007.8321.001.001.00
##0000007.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9936
Deuteranopia (green-blind)
#B3A144
Tritanopia (blue-blind)
#C88F88
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b99b40;
/* rgb */ color: rgb(185, 155, 64);
/* oklch */ color: oklch(69.9% 0.115 90.8);
Tailwind
colors: {
  custom: {
    50: '#d1b879',
    500: '#b99b40',
    950: '#000000',
  },
}
SCSS
$custom: #b99b40;
$custom-light: #d1b879;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b40",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 64
  },
  "hsl": {
    "h": 45.124,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.69919,
    "c": 0.1147,
    "h": 90.8
  },
  "luminance": 0.34127
}

Semantic roles & 50–950 ramp

primary
#B99B40
secondary
#8E9CC7
accent
#71D850
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B99B40

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

Preview Lab → · Contrast checker → · Palette generator →

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