#B9C91E#B9C91E

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

Color values

HEX#B9C91E
RGBrgb(185, 201, 30)
HSLhsl(66, 74%, 45%)
HSVhsv(66, 85%, 79%)
CMYKcmyk(8%, 0%, 85.1%, 21.2%)
CIE-LABlab(77.39, -24.35, 73.47)
CIE-LCHlch(77.39, 77.40, 108.34°)
OKLaboklab(79.68% -0.0753 0.1579)
OKLCHoklch(79.68% 0.175 115.5)
XYZxyz(41.1298, 52.1820, 9.1335)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9C91E #2E1EC9
analogous
#C9831E #B9C91E #63C91E
triadic
#B9C91E #1EB9C9 #C91EB9
tetradic
#B9C91E #1EC983 #2E1EC9 #C91E63
square
#B9C91E #1EC983 #2E1EC9 #C91E63
split-complementary
#B9C91E #1E63C9 #831EC9
monochromatic
#575E0E #889416 #B9C91E #D4E341 #E0EB77

Accessibility & contrast

On white

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

On black

11.44
#B9C91E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9C91E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9C91E#FFFFFF#000000##000000
##B9C91E1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b9c91e;
/* rgb */ color: rgb(185, 201, 30);
/* oklch */ color: oklch(79.7% 0.175 115.5);
Tailwind
colors: {
  custom: {
    50: '#d2d96e',
    500: '#b9c91e',
    950: '#000000',
  },
}
SCSS
$custom: #b9c91e;
$custom-light: #d2d96e;
$custom-dark: #000000;
JSON
{
  "hex": "#b9c91e",
  "rgb": {
    "r": 185,
    "g": 201,
    "b": 30
  },
  "hsl": {
    "h": 65.614,
    "s": 74.026,
    "l": 45.294
  },
  "oklch": {
    "l": 0.79677,
    "c": 0.17493,
    "h": 115.5
  },
  "luminance": 0.52181
}

Semantic roles & 50–950 ramp

primary
#B9C91E
secondary
#28226A
accent
#37F148
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151408
muted
#84837D

Preview Lab

Preview with #B9C91E

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

Preview Lab → · Contrast checker → · Palette generator →

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