#B9B03A#B9B03A

#B9B03A is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.3% C 0.136 H 104.9°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#B9B03A
RGBrgb(185, 176, 58)
HSLhsl(56, 52%, 48%)
HSVhsv(56, 69%, 73%)
CMYKcmyk(0%, 4.9%, 68.6%, 27.5%)
CIE-LABlab(70.64, -10.71, 58.75)
CIE-LCHlch(70.64, 59.72, 100.33°)
OKLaboklab(74.33% -0.0351 0.1314)
OKLCHoklch(74.33% 0.136 104.9)
XYZxyz(36.2981, 41.6718, 10.1336)
Luminance0.4167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9B03A #3A43B9
analogous
#B9703A #B9B03A #82B93A
triadic
#B9B03A #3AB9B0 #B03AB9
tetradic
#B9B03A #3AB970 #3A43B9 #B93A82
square
#B9B03A #3AB970 #3A43B9 #B93A82
split-complementary
#B9B03A #3A82B9 #703AB9
monochromatic
#5C571D #8A842B #B9B03A #CEC662 #DCD791

Accessibility & contrast

On white

2.25
#B9B03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#B9B03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9B03A
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9B03A#FFFFFF#000000##000000
##B9B03A1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA29
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#C7A498
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b9b03a;
/* rgb */ color: rgb(185, 176, 58);
/* oklch */ color: oklch(74.3% 0.136 104.9);
Tailwind
colors: {
  custom: {
    50: '#d1c777',
    500: '#b9b03a',
    950: '#000000',
  },
}
SCSS
$custom: #b9b03a;
$custom-light: #d1c777;
$custom-dark: #000000;
JSON
{
  "hex": "#b9b03a",
  "rgb": {
    "r": 185,
    "g": 176,
    "b": 58
  },
  "hsl": {
    "h": 55.748,
    "s": 52.263,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74326,
    "c": 0.13599,
    "h": 104.9
  },
  "luminance": 0.4167
}

Semantic roles & 50–950 ramp

primary
#B9B03A
secondary
#878CC7
accent
#56DC4C
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B9B03A

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

Preview Lab → · Contrast checker → · Palette generator →

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