#B9C91A#B9C91A

#B9C91A is a light, vivid yellow. Relative luminance 0.522; OKLCH L 79.7% C 0.176 H 115.5°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).

Color values

HEX#B9C91A
RGBrgb(185, 201, 26)
HSLhsl(65, 77%, 45%)
HSVhsv(65, 87%, 79%)
CMYKcmyk(8%, 0%, 87.1%, 21.2%)
CIE-LABlab(77.38, -24.45, 74.26)
CIE-LCHlch(77.38, 78.18, 108.22°)
OKLaboklab(79.66% -0.0758 0.159)
OKLCHoklch(79.66% 0.176 115.5)
XYZxyz(41.0820, 52.1629, 8.8814)
Luminance0.5216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C91A #2A1AC9
analogous
#C9821A #B9C91A #61C91A
triadic
#B9C91A #1AB9C9 #C91AB9
tetradic
#B9C91A #1AC982 #2A1AC9 #C91A61
square
#B9C91A #1AC982 #2A1AC9 #C91A61
split-complementary
#B9C91A #1A61C9 #821AC9
monochromatic
#555D0C #879313 #B9C91A #D6E63B #E1ED71

Accessibility & contrast

On white

1.84
#B9C91A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.43
#B9C91A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C91A
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C91A#FFFFFF#000000##000000
##B9C91A1.001.8411.4311.43
#FFFFFF1.841.0021.0021.00
#00000011.4321.001.001.00
##00000011.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BE00
Deuteranopia (green-blind)
#D7C030
Tritanopia (blue-blind)
#C6BDAB
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #b9c91a;
/* rgb */ color: rgb(185, 201, 26);
/* oklch */ color: oklch(79.7% 0.176 115.5);
Tailwind
colors: {
  custom: {
    50: '#d2d96d',
    500: '#b9c91a',
    950: '#000000',
  },
}
SCSS
$custom: #b9c91a;
$custom-light: #d2d96d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c91a",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 26
  },
  "hsl": {
    "h": 65.486,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.79665,
    "c": 0.17617,
    "h": 115.5
  },
  "luminance": 0.52162
}

Semantic roles & 50–950 ramp

primary
#B9C91A
secondary
#261F68
accent
#34F446
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B9C91A

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

Preview Lab → · Contrast checker → · Palette generator →

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