#B99A2F#B99A2F

#B99A2F is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.6% C 0.126 H 92.1°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#B99A2F
RGBrgb(185, 154, 47)
HSLhsl(47, 59%, 45%)
HSVhsv(47, 75%, 73%)
CMYKcmyk(0%, 16.8%, 74.6%, 27.5%)
CIE-LABlab(64.67, 0.40, 57.13)
CIE-LCHlch(64.67, 57.14, 89.60°)
OKLaboklab(69.57% -0.0047 0.1259)
OKLCHoklch(69.57% 0.126 92.1)
XYZxyz(32.0781, 33.6326, 7.4909)
Luminance0.3363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99A2F #2F4EB9
analogous
#B9552F #B99A2F #93B92F
triadic
#B99A2F #2FB99A #9A2FB9
tetradic
#B99A2F #2FB955 #2F4EB9 #B92F93
square
#B99A2F #2FB955 #2F4EB9 #B92F93
split-complementary
#B99A2F #2F93B9 #552FB9
monochromatic
#574916 #887123 #B99A2F #D3B652 #DFCB83

Accessibility & contrast

On white

2.72
#B99A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#B99A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99A2F
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99A2F#FFFFFF#000000##000000
##B99A2F1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB981D
Deuteranopia (green-blind)
#B3A135
Tritanopia (blue-blind)
#C88D85
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b99a2f;
/* rgb */ color: rgb(185, 154, 47);
/* oklch */ color: oklch(69.6% 0.126 92.1);
Tailwind
colors: {
  custom: {
    50: '#d2b76f',
    500: '#b99a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b99a2f;
$custom-light: #d2b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b99a2f",
  "rgb": {
    "r": 185,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 46.522,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69566,
    "c": 0.12603,
    "h": 92.1
  },
  "luminance": 0.33631
}

Semantic roles & 50–950 ramp

primary
#B99A2F
secondary
#7B8DC9
accent
#69E345
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #B99A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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