#B99D34#B99D34

#B99D34 is a light, vivid yellow. Relative luminance 0.347; OKLCH L 70.2% C 0.125 H 93.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#B99D34
RGBrgb(185, 157, 52)
HSLhsl(47, 56%, 46%)
HSVhsv(47, 72%, 73%)
CMYKcmyk(0%, 15.1%, 71.9%, 27.5%)
CIE-LABlab(65.50, -0.98, 55.98)
CIE-LCHlch(65.50, 55.99, 91.00°)
OKLaboklab(70.23% -0.0081 0.1245)
OKLCHoklch(70.23% 0.125 93.7)
XYZxyz(32.6861, 34.6780, 8.2200)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99D34 #3450B9
analogous
#B95A34 #B99D34 #93B934
triadic
#B99D34 #34B99D #9D34B9
tetradic
#B99D34 #34B95A #3450B9 #B93493
square
#B99D34 #34B95A #3450B9 #B93493
split-complementary
#B99D34 #3493B9 #5A34B9
monochromatic
#594C19 #897427 #B99D34 #D1B85A #DECC89

Accessibility & contrast

On white

2.65
#B99D34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#B99D34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99D34
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99D34#FFFFFF#000000##000000
##B99D341.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A24
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#C89088
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b99d34;
/* rgb */ color: rgb(185, 157, 52);
/* oklch */ color: oklch(70.2% 0.125 93.7);
Tailwind
colors: {
  custom: {
    50: '#d2b972',
    500: '#b99d34',
    950: '#000000',
  },
}
SCSS
$custom: #b99d34;
$custom-light: #d2b972;
$custom-dark: #000000;
JSON
{
  "hex": "#b99d34",
  "rgb": {
    "r": 185,
    "g": 157,
    "b": 52
  },
  "hsl": {
    "h": 47.368,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.7023,
    "c": 0.12473,
    "h": 93.7
  },
  "luminance": 0.34676
}

Semantic roles & 50–950 ramp

primary
#B99D34
secondary
#8190C8
accent
#68DF48
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99D34

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

Preview Lab → · Contrast checker → · Palette generator →

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