#B7C91A#B7C91A

#B7C91A is a light, vivid yellow. Relative luminance 0.519; OKLCH L 79.5% C 0.177 H 116.2°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#B7C91A
RGBrgb(183, 201, 26)
HSLhsl(66, 77%, 45%)
HSVhsv(66, 87%, 79%)
CMYKcmyk(9%, 0%, 87.1%, 21.2%)
CIE-LABlab(77.23, -25.29, 74.08)
CIE-LCHlch(77.23, 78.28, 108.85°)
OKLaboklab(79.51% -0.078 0.1587)
OKLCHoklch(79.51% 0.177 116.2)
XYZxyz(40.6027, 51.9158, 8.8589)
Luminance0.5192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7C91A #2C1AC9
analogous
#C9831A #B7C91A #60C91A
triadic
#B7C91A #1AB7C9 #C91AB7
tetradic
#B7C91A #1AC983 #2C1AC9 #C91A60
square
#B7C91A #1AC983 #2C1AC9 #C91A60
split-complementary
#B7C91A #1A60C9 #831AC9
monochromatic
#545D0C #869313 #B7C91A #D4E63B #E0ED71

Accessibility & contrast

On white

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

On black

11.38
#B7C91A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7C91A
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7C91A#FFFFFF#000000##000000
##B7C91A1.001.8411.3811.38
#FFFFFF1.841.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b7c91a;
/* rgb */ color: rgb(183, 201, 26);
/* oklch */ color: oklch(79.5% 0.177 116.2);
Tailwind
colors: {
  custom: {
    50: '#d1d96d',
    500: '#b7c91a',
    950: '#000000',
  },
}
SCSS
$custom: #b7c91a;
$custom-light: #d1d96d;
$custom-dark: #000000;
JSON
{
  "hex": "#b7c91a",
  "rgb": {
    "r": 183,
    "g": 201,
    "b": 26
  },
  "hsl": {
    "h": 66.171,
    "s": 77.093,
    "l": 44.51
  },
  "oklch": {
    "l": 0.79509,
    "c": 0.17685,
    "h": 116.2
  },
  "luminance": 0.51915
}

Semantic roles & 50–950 ramp

primary
#B7C91A
secondary
#271F68
accent
#34F448
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B7C91A

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

Preview Lab → · Contrast checker → · Palette generator →

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