#B99D3C#B99D3C

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

Color values

HEX#B99D3C
RGBrgb(185, 157, 60)
HSLhsl(47, 51%, 48%)
HSVhsv(47, 68%, 73%)
CMYKcmyk(0%, 15.1%, 67.6%, 27.5%)
CIE-LABlab(65.56, -0.54, 52.70)
CIE-LCHlch(65.56, 52.70, 90.59°)
OKLaboklab(70.3% -0.0059 0.1189)
OKLCHoklch(70.3% 0.119 92.8)
XYZxyz(32.8818, 34.7563, 9.2508)
Luminance0.3475 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D3C #3C58B9
analogous
#B95E3C #B99D3C #96B93C
triadic
#B99D3C #3CB99D #9D3CB9
tetradic
#B99D3C #3CB95E #3C58B9 #B93C96
square
#B99D3C #3CB95E #3C58B9 #B93C96
split-complementary
#B99D3C #3C96B9 #5E3CB9
monochromatic
#5D4F1E #8B762D #B99D3C #CDB665 #DCCC93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B99D3C#FFFFFF#000000##000000
##B99D3C1.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)
#AD9A30
Deuteranopia (green-blind)
#B4A341
Tritanopia (blue-blind)
#C89189
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d3c;
/* rgb */ color: rgb(185, 157, 60);
/* oklch */ color: oklch(70.3% 0.119 92.8);
Tailwind
colors: {
  custom: {
    50: '#d1b977',
    500: '#b99d3c',
    950: '#000000',
  },
}
SCSS
$custom: #b99d3c;
$custom-light: #d1b977;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d3c",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 60
  },
  "hsl": {
    "h": 46.56,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70298,
    "c": 0.11908,
    "h": 92.8
  },
  "luminance": 0.34754
}

Semantic roles & 50–950 ramp

primary
#B99D3C
secondary
#8997C7
accent
#6DDA4D
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B99D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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