#B9C03A#B9C03A

#B9C03A is a light, vivid yellow. Relative luminance 0.483; OKLCH L 77.8% C 0.152 H 112.4°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#B9C03A
RGBrgb(185, 192, 58)
HSLhsl(63, 54%, 49%)
HSVhsv(63, 70%, 75%)
CMYKcmyk(3.6%, 0%, 69.8%, 24.7%)
CIE-LABlab(75.03, -18.84, 63.12)
CIE-LCHlch(75.03, 65.87, 106.62°)
OKLaboklab(77.82% -0.0579 0.1406)
OKLCHoklch(77.82% 0.152 112.4)
XYZxyz(39.6222, 48.3200, 11.2416)
Luminance0.4832 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C03A #413AC0
analogous
#C0843A #B9C03A #76C03A
triadic
#B9C03A #3AB9C0 #C03AB9
tetradic
#B9C03A #3AC084 #413AC0 #C03A76
square
#B9C03A #3AC084 #413AC0 #C03A76
split-complementary
#B9C03A #3A76C0 #843AC0
monochromatic
#5E621E #8C912C #B9C03A #CBD166 #DBDF95

Accessibility & contrast

On white

1.97
#B9C03A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#B9C03A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C03A
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C03A#FFFFFF#000000##000000
##B9C03A1.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB724
Deuteranopia (green-blind)
#CFBA44
Tritanopia (blue-blind)
#C5B4A6
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #b9c03a;
/* rgb */ color: rgb(185, 192, 58);
/* oklch */ color: oklch(77.8% 0.152 112.4);
Tailwind
colors: {
  custom: {
    50: '#d1d279',
    500: '#b9c03a',
    950: '#000000',
  },
}
SCSS
$custom: #b9c03a;
$custom-light: #d1d279;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c03a",
  "rgb": {
    "r": 185,
    "g": 192,
    "b": 58
  },
  "hsl": {
    "h": 63.134,
    "s": 53.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.77823,
    "c": 0.15207,
    "h": 112.4
  },
  "luminance": 0.48319
}

Semantic roles & 50–950 ramp

primary
#B9C03A
secondary
#8F8BCA
accent
#4BDD52
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14140A
muted
#83827C

Preview Lab

Preview with #B9C03A

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

Preview Lab → · Contrast checker → · Palette generator →

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