#B8C91A#B8C91A

#B8C91A is a light, vivid yellow. Relative luminance 0.520; OKLCH L 79.6% C 0.176 H 115.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#B8C91A
RGBrgb(184, 201, 26)
HSLhsl(66, 77%, 45%)
HSVhsv(66, 87%, 79%)
CMYKcmyk(8.5%, 0%, 87.1%, 21.2%)
CIE-LABlab(77.30, -24.87, 74.17)
CIE-LCHlch(77.30, 78.23, 108.54°)
OKLaboklab(79.59% -0.0769 0.1589)
OKLCHoklch(79.59% 0.177 115.8)
XYZxyz(40.8415, 52.0389, 8.8701)
Luminance0.5204 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8C91A #2B1AC9
analogous
#C9831A #B8C91A #60C91A
triadic
#B8C91A #1AB8C9 #C91AB8
tetradic
#B8C91A #1AC983 #2B1AC9 #C91A60
square
#B8C91A #1AC983 #2B1AC9 #C91A60
split-complementary
#B8C91A #1A60C9 #831AC9
monochromatic
#555D0C #869313 #B8C91A #D5E63B #E1ED71

Accessibility & contrast

On white

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

On black

11.41
#B8C91A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B8C91A
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8C91A#FFFFFF#000000##000000
##B8C91A1.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8c91a;
/* rgb */ color: rgb(184, 201, 26);
/* oklch */ color: oklch(79.6% 0.176 115.8);
Tailwind
colors: {
  custom: {
    50: '#d2d96d',
    500: '#b8c91a',
    950: '#000000',
  },
}
SCSS
$custom: #b8c91a;
$custom-light: #d2d96d;
$custom-dark: #000000;
JSON
{
  "hex": "#b8c91a",
  "rgb": {
    "r": 184,
    "g": 201,
    "b": 26
  },
  "hsl": {
    "h": 65.829,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.79587,
    "c": 0.1765,
    "h": 115.8
  },
  "luminance": 0.52038
}

Semantic roles & 50–950 ramp

primary
#B8C91A
secondary
#261F68
accent
#34F447
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B8C91A

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

Preview Lab → · Contrast checker → · Palette generator →

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