#B99B2F#B99B2F

#B99B2F is a light, vivid yellow. Relative luminance 0.340; OKLCH L 69.8% C 0.127 H 92.8°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#B99B2F
RGBrgb(185, 155, 47)
HSLhsl(47, 59%, 45%)
HSVhsv(47, 75%, 73%)
CMYKcmyk(0%, 16.2%, 74.6%, 27.5%)
CIE-LABlab(64.93, -0.14, 57.39)
CIE-LCHlch(64.93, 57.39, 90.14°)
OKLaboklab(69.77% -0.0062 0.1265)
OKLCHoklch(69.77% 0.127 92.8)
XYZxyz(32.2438, 33.9641, 7.5462)
Luminance0.3396 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99B2F #2F4DB9
analogous
#B9562F #B99B2F #92B92F
triadic
#B99B2F #2FB99B #9B2FB9
tetradic
#B99B2F #2FB956 #2F4DB9 #B92F92
square
#B99B2F #2FB956 #2F4DB9 #B92F92
split-complementary
#B99B2F #2F92B9 #562FB9
monochromatic
#574916 #887223 #B99B2F #D3B752 #DFCB83

Accessibility & contrast

On white

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

On black

7.79
#B99B2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99B2F
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99B2F#FFFFFF#000000##000000
##B99B2F1.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981D
Deuteranopia (green-blind)
#B4A135
Tritanopia (blue-blind)
#C88E86
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b99b2f;
/* rgb */ color: rgb(185, 155, 47);
/* oklch */ color: oklch(69.8% 0.127 92.8);
Tailwind
colors: {
  custom: {
    50: '#d2b86f',
    500: '#b99b2f',
    950: '#000000',
  },
}
SCSS
$custom: #b99b2f;
$custom-light: #d2b86f;
$custom-dark: #000000;
JSON
{
  "hex": "#b99b2f",
  "rgb": {
    "r": 185,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 46.957,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69774,
    "c": 0.12663,
    "h": 92.8
  },
  "luminance": 0.33962
}

Semantic roles & 50–950 ramp

primary
#B99B2F
secondary
#7B8CC9
accent
#67E345
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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