#B9C91B#B9C91B

#B9C91B 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#B9C91B
RGBrgb(185, 201, 27)
HSLhsl(66, 76%, 45%)
HSVhsv(66, 87%, 79%)
CMYKcmyk(8%, 0%, 86.6%, 21.2%)
CIE-LABlab(77.38, -24.43, 74.07)
CIE-LCHlch(77.38, 77.99, 108.25°)
OKLaboklab(79.67% -0.0757 0.1588)
OKLCHoklch(79.67% 0.176 115.5)
XYZxyz(41.0933, 52.1674, 8.9413)
Luminance0.5217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C91B #2B1BC9
analogous
#C9821B #B9C91B #62C91B
triadic
#B9C91B #1BB9C9 #C91BB9
tetradic
#B9C91B #1BC982 #2B1BC9 #C91B62
square
#B9C91B #1BC982 #2B1BC9 #C91B62
split-complementary
#B9C91B #1B62C9 #821BC9
monochromatic
#565D0D #879314 #B9C91B #D5E53C #E1EC72

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9C91B#FFFFFF#000000##000000
##B9C91B1.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: #b9c91b;
/* rgb */ color: rgb(185, 201, 27);
/* oklch */ color: oklch(79.7% 0.176 115.5);
Tailwind
colors: {
  custom: {
    50: '#d2d96d',
    500: '#b9c91b',
    950: '#000000',
  },
}
SCSS
$custom: #b9c91b;
$custom-light: #d2d96d;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c91b",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 27
  },
  "hsl": {
    "h": 65.517,
    "s": 76.316,
    "l": 44.706
  },
  "oklch": {
    "l": 0.79668,
    "c": 0.17588,
    "h": 115.5
  },
  "luminance": 0.52167
}

Semantic roles & 50–950 ramp

primary
#B9C91B
secondary
#262068
accent
#35F346
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B9C91B

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

Preview Lab → · Contrast checker → · Palette generator →

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