#B99D3B#B99D3B

#B99D3B is a light, moderate yellow. Relative luminance 0.347; OKLCH L 70.3% C 0.120 H 93.0°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#B99D3B
RGBrgb(185, 157, 59)
HSLhsl(47, 52%, 48%)
HSVhsv(47, 68%, 73%)
CMYKcmyk(0%, 15.1%, 68.1%, 27.5%)
CIE-LABlab(65.55, -0.60, 53.12)
CIE-LCHlch(65.55, 53.12, 90.65°)
OKLaboklab(70.29% -0.0062 0.1197)
OKLCHoklch(70.29% 0.12 93)
XYZxyz(32.8556, 34.7458, 9.1129)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D3B #3B57B9
analogous
#B95E3B #B99D3B #96B93B
triadic
#B99D3B #3BB99D #9D3BB9
tetradic
#B99D3B #3BB95E #3B57B9 #B93B96
square
#B99D3B #3BB95E #3B57B9 #B93B96
split-complementary
#B99D3B #3B96B9 #5E3BB9
monochromatic
#5C4E1D #8B762C #B99D3B #CDB664 #DCCC92

Accessibility & contrast

On white

2.64
#B99D3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#B99D3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D3B
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D3B#FFFFFF#000000##000000
##B99D3B1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2F
Deuteranopia (green-blind)
#B4A340
Tritanopia (blue-blind)
#C89189
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d3b;
/* rgb */ color: rgb(185, 157, 59);
/* oklch */ color: oklch(70.3% 0.120 93.0);
Tailwind
colors: {
  custom: {
    50: '#d1b976',
    500: '#b99d3b',
    950: '#000000',
  },
}
SCSS
$custom: #b99d3b;
$custom-light: #d1b976;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d3b",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 59
  },
  "hsl": {
    "h": 46.667,
    "s": 51.639,
    "l": 47.843
  },
  "oklch": {
    "l": 0.70289,
    "c": 0.11982,
    "h": 93
  },
  "luminance": 0.34744
}

Semantic roles & 50–950 ramp

primary
#B99D3B
secondary
#8896C7
accent
#6CDB4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #B99D3B

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

Preview Lab → · Contrast checker → · Palette generator →

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