#B99B3E#B99B3E

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

Color values

HEX#B99B3E
RGBrgb(185, 155, 62)
HSLhsl(45, 50%, 48%)
HSVhsv(45, 66%, 73%)
CMYKcmyk(0%, 16.2%, 66.5%, 27.5%)
CIE-LABlab(65.05, 0.66, 51.27)
CIE-LCHlch(65.05, 51.28, 89.27°)
OKLaboklab(69.9% -0.0022 0.1163)
OKLCHoklch(69.9% 0.116 91.1)
XYZxyz(32.6001, 34.1066, 9.4226)
Luminance0.3411 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B3E #3E5CB9
analogous
#B95D3E #B99B3E #99B93E
triadic
#B99B3E #3EB99B #9B3EB9
tetradic
#B99B3E #3EB95D #3E5CB9 #B93E99
square
#B99B3E #3EB95D #3E5CB9 #B93E99
split-complementary
#B99B3E #3E99B9 #5D3EB9
monochromatic
#5D4E1F #8B752F #B99B3E #CCB468 #DCCB96

Accessibility & contrast

On white

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

On black

7.82
#B99B3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99B3E
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99B3E#FFFFFF#000000##000000
##B99B3E1.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b99b3e;
/* rgb */ color: rgb(185, 155, 62);
/* oklch */ color: oklch(69.9% 0.116 91.1);
Tailwind
colors: {
  custom: {
    50: '#d1b878',
    500: '#b99b3e',
    950: '#000000',
  },
}
SCSS
$custom: #b99b3e;
$custom-light: #d1b878;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b3e",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 62
  },
  "hsl": {
    "h": 45.366,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.699,
    "c": 0.11627,
    "h": 91.1
  },
  "luminance": 0.34105
}

Semantic roles & 50–950 ramp

primary
#B99B3E
secondary
#8C9AC7
accent
#70D94E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B99B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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