#B99E42#B99E42

#B99E42 is a light, moderate yellow. Relative luminance 0.352; OKLCH L 70.6% C 0.115 H 92.8°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#B99E42
RGBrgb(185, 158, 66)
HSLhsl(46, 47%, 49%)
HSVhsv(46, 64%, 73%)
CMYKcmyk(0%, 14.6%, 64.3%, 27.5%)
CIE-LABlab(65.88, -0.71, 50.36)
CIE-LCHlch(65.88, 50.36, 90.81°)
OKLaboklab(70.57% -0.0056 0.1149)
OKLCHoklch(70.57% 0.115 92.8)
XYZxyz(33.2194, 35.1631, 10.1906)
Luminance0.3516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99E42 #425DB9
analogous
#B96342 #B99E42 #98B942
triadic
#B99E42 #42B99E #9E42B9
tetradic
#B99E42 #42B963 #425DB9 #B94298
square
#B99E42 #42B963 #425DB9 #B94298
split-complementary
#B99E42 #4298B9 #6342B9
monochromatic
#5F5122 #8C7732 #B99E42 #CBB66D #DBCC9A

Accessibility & contrast

On white

2.61
#B99E42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#B99E42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99E42
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99E42#FFFFFF#000000##000000
##B99E421.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B38
Deuteranopia (green-blind)
#B5A346
Tritanopia (blue-blind)
#C7928A
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #b99e42;
/* rgb */ color: rgb(185, 158, 66);
/* oklch */ color: oklch(70.6% 0.115 92.8);
Tailwind
colors: {
  custom: {
    50: '#d1ba7a',
    500: '#b99e42',
    950: '#000000',
  },
}
SCSS
$custom: #b99e42;
$custom-light: #d1ba7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b99e42",
  "rgb": {
    "r": 185,
    "g": 158,
    "b": 66
  },
  "hsl": {
    "h": 46.387,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70565,
    "c": 0.11507,
    "h": 92.8
  },
  "luminance": 0.35161
}

Semantic roles & 50–950 ramp

primary
#B99E42
secondary
#909CC7
accent
#6FD751
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141109
muted
#83807B

Preview Lab

Preview with #B99E42

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

Preview Lab → · Contrast checker → · Palette generator →

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