#B99F3A#B99F3A

#B99F3A is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.7% C 0.122 H 94.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#B99F3A
RGBrgb(185, 159, 58)
HSLhsl(48, 52%, 48%)
HSVhsv(48, 69%, 73%)
CMYKcmyk(0%, 14.1%, 68.6%, 27.5%)
CIE-LABlab(66.07, -1.73, 54.09)
CIE-LCHlch(66.07, 54.12, 91.84°)
OKLaboklab(70.7% -0.0095 0.1215)
OKLCHoklch(70.7% 0.122 94.5)
XYZxyz(33.1711, 35.4178, 9.0913)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99F3A #3A54B9
analogous
#B9603A #B99F3A #93B93A
triadic
#B99F3A #3AB99F #9F3AB9
tetradic
#B99F3A #3AB960 #3A54B9 #B93A93
square
#B99F3A #3AB960 #3A54B9 #B93A93
split-complementary
#B99F3A #3A93B9 #603AB9
monochromatic
#5C4F1D #8A772B #B99F3A #CEB862 #DCCD91

Accessibility & contrast

On white

2.60
#B99F3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#B99F3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99F3A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99F3A#FFFFFF#000000##000000
##B99F3A1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2D
Deuteranopia (green-blind)
#B6A43F
Tritanopia (blue-blind)
#C8938A
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #b99f3a;
/* rgb */ color: rgb(185, 159, 58);
/* oklch */ color: oklch(70.7% 0.122 94.5);
Tailwind
colors: {
  custom: {
    50: '#d2bb76',
    500: '#b99f3a',
    950: '#000000',
  },
}
SCSS
$custom: #b99f3a;
$custom-light: #d2bb76;
$custom-dark: #000000;
JSON
{
  "hex": "#b99f3a",
  "rgb": {
    "r": 185,
    "g": 159,
    "b": 58
  },
  "hsl": {
    "h": 47.717,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70699,
    "c": 0.12191,
    "h": 94.5
  },
  "luminance": 0.35416
}

Semantic roles & 50–950 ramp

primary
#B99F3A
secondary
#8794C7
accent
#69DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #B99F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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