#B99D3A#B99D3A

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

Color values

HEX#B99D3A
RGBrgb(185, 157, 58)
HSLhsl(47, 52%, 48%)
HSVhsv(47, 69%, 73%)
CMYKcmyk(0%, 15.1%, 68.6%, 27.5%)
CIE-LABlab(65.54, -0.66, 53.54)
CIE-LCHlch(65.54, 53.55, 90.70°)
OKLaboklab(70.28% -0.0065 0.1204)
OKLCHoklch(70.28% 0.121 93.1)
XYZxyz(32.8299, 34.7355, 8.9776)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D3A #3A56B9
analogous
#B95E3A #B99D3A #95B93A
triadic
#B99D3A #3AB99D #9D3AB9
tetradic
#B99D3A #3AB95E #3A56B9 #B93A95
square
#B99D3A #3AB95E #3A56B9 #B93A95
split-complementary
#B99D3A #3A95B9 #5E3AB9
monochromatic
#5C4E1D #8A752B #B99D3A #CEB662 #DCCC91

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99D3A#FFFFFF#000000##000000
##B99D3A1.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)
#AD9A2D
Deuteranopia (green-blind)
#B4A33F
Tritanopia (blue-blind)
#C89189
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d3a;
/* rgb */ color: rgb(185, 157, 58);
/* oklch */ color: oklch(70.3% 0.121 93.1);
Tailwind
colors: {
  custom: {
    50: '#d2b975',
    500: '#b99d3a',
    950: '#000000',
  },
}
SCSS
$custom: #b99d3a;
$custom-light: #d2b975;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d3a",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 58
  },
  "hsl": {
    "h": 46.772,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.7028,
    "c": 0.12055,
    "h": 93.1
  },
  "luminance": 0.34734
}

Semantic roles & 50–950 ramp

primary
#B99D3A
secondary
#8795C7
accent
#6CDC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #B99D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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