#B99D3E#B99D3E

#B99D3E is a light, moderate yellow. Relative luminance 0.348; OKLCH L 70.3% C 0.118 H 92.6°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B99D3E
RGBrgb(185, 157, 62)
HSLhsl(46, 50%, 48%)
HSVhsv(46, 66%, 73%)
CMYKcmyk(0%, 15.1%, 66.5%, 27.5%)
CIE-LABlab(65.58, -0.42, 51.83)
CIE-LCHlch(65.58, 51.84, 90.47°)
OKLaboklab(70.32% -0.0053 0.1174)
OKLCHoklch(70.32% 0.118 92.6)
XYZxyz(32.9357, 34.7778, 9.5345)
Luminance0.3478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D3E #3E5AB9
analogous
#B95F3E #B99D3E #98B93E
triadic
#B99D3E #3EB99D #9D3EB9
tetradic
#B99D3E #3EB95F #3E5AB9 #B93E98
square
#B99D3E #3EB95F #3E5AB9 #B93E98
split-complementary
#B99D3E #3E98B9 #5F3EB9
monochromatic
#5D4F1F #8B762F #B99D3E #CCB568 #DCCC96

Accessibility & contrast

On white

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

On black

7.96
#B99D3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D3E
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D3E#FFFFFF#000000##000000
##B99D3E1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b99d3e;
/* rgb */ color: rgb(185, 157, 62);
/* oklch */ color: oklch(70.3% 0.118 92.6);
Tailwind
colors: {
  custom: {
    50: '#d1b978',
    500: '#b99d3e',
    950: '#000000',
  },
}
SCSS
$custom: #b99d3e;
$custom-light: #d1b978;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d3e",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 62
  },
  "hsl": {
    "h": 46.341,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.70317,
    "c": 0.11756,
    "h": 92.6
  },
  "luminance": 0.34776
}

Semantic roles & 50–950 ramp

primary
#B99D3E
secondary
#8C99C7
accent
#6ED94E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B99D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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