#B99F42#B99F42

#B99F42 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.8% C 0.116 H 93.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#B99F42
RGBrgb(185, 159, 66)
HSLhsl(47, 47%, 49%)
HSVhsv(47, 64%, 73%)
CMYKcmyk(0%, 14.1%, 64.3%, 27.5%)
CIE-LABlab(66.14, -1.25, 50.65)
CIE-LCHlch(66.14, 50.66, 91.41°)
OKLaboklab(70.77% -0.0072 0.1155)
OKLCHoklch(70.77% 0.116 93.6)
XYZxyz(33.3907, 35.5057, 10.2477)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99F42 #425CB9
analogous
#B96442 #B99F42 #98B942
triadic
#B99F42 #42B99F #9F42B9
tetradic
#B99F42 #42B964 #425CB9 #B94298
square
#B99F42 #42B964 #425CB9 #B94298
split-complementary
#B99F42 #4298B9 #6442B9
monochromatic
#5F5122 #8C7832 #B99F42 #CBB76D #DBCD9A

Accessibility & contrast

On white

2.59
#B99F42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#B99F42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99F42
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99F42#FFFFFF#000000##000000
##B99F421.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C37
Deuteranopia (green-blind)
#B5A446
Tritanopia (blue-blind)
#C7938B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b99f42;
/* rgb */ color: rgb(185, 159, 66);
/* oklch */ color: oklch(70.8% 0.116 93.6);
Tailwind
colors: {
  custom: {
    50: '#d1bb7a',
    500: '#b99f42',
    950: '#000000',
  },
}
SCSS
$custom: #b99f42;
$custom-light: #d1bb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#b99f42",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 66
  },
  "hsl": {
    "h": 46.891,
    "s": 47.41,
    "l": 49.216
  },
  "oklch": {
    "l": 0.70774,
    "c": 0.11576,
    "h": 93.6
  },
  "luminance": 0.35504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B99F42

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

Preview Lab → · Contrast checker → · Palette generator →

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