#B99C30#B99C30

#B99C30 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 70.0% C 0.127 H 93.4°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#B99C30
RGBrgb(185, 156, 48)
HSLhsl(47, 59%, 46%)
HSVhsv(47, 74%, 73%)
CMYKcmyk(0%, 15.7%, 74.1%, 27.5%)
CIE-LABlab(65.21, -0.63, 57.27)
CIE-LCHlch(65.21, 57.27, 90.63°)
OKLaboklab(69.99% -0.0075 0.1264)
OKLCHoklch(69.99% 0.127 93.4)
XYZxyz(32.4313, 34.3065, 7.7093)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B99C30 #304DB9
analogous
#B95730 #B99C30 #91B930
triadic
#B99C30 #30B99C #9C30B9
tetradic
#B99C30 #30B957 #304DB9 #B93091
square
#B99C30 #30B957 #304DB9 #B93091
split-complementary
#B99C30 #3091B9 #5730B9
monochromatic
#584A17 #887323 #B99C30 #D3B854 #DFCC84

Accessibility & contrast

On white

2.67
#B99C30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#B99C30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B99C30
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B99C30#FFFFFF#000000##000000
##B99C301.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991E
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#C88F87
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b99c30;
/* rgb */ color: rgb(185, 156, 48);
/* oklch */ color: oklch(70.0% 0.127 93.4);
Tailwind
colors: {
  custom: {
    50: '#d2b870',
    500: '#b99c30',
    950: '#000000',
  },
}
SCSS
$custom: #b99c30;
$custom-light: #d2b870;
$custom-dark: #000000;
JSON
{
  "hex": "#b99c30",
  "rgb": {
    "r": 185,
    "g": 156,
    "b": 48
  },
  "hsl": {
    "h": 47.299,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69991,
    "c": 0.12666,
    "h": 93.4
  },
  "luminance": 0.34305
}

Semantic roles & 50–950 ramp

primary
#B99C30
secondary
#7C8CC9
accent
#67E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #B99C30

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

Preview Lab → · Contrast checker → · Palette generator →

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