#9BB41B#9BB41B

#9BB41B is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.6% C 0.165 H 119.5°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#9BB41B
RGBrgb(155, 180, 27)
HSLhsl(70, 74%, 41%)
HSVhsv(70, 85%, 71%)
CMYKcmyk(13.9%, 0%, 85%, 29.4%)
CIE-LABlab(69.25, -26.88, 66.42)
CIE-LCHlch(69.25, 71.65, 112.03°)
OKLaboklab(72.58% -0.0809 0.1434)
OKLCHoklch(72.58% 0.165 119.5)
XYZxyz(30.0373, 39.6904, 7.1153)
Luminance0.3969 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB41B #341BB4
analogous
#B4801B #9BB41B #4EB41B
triadic
#9BB41B #1B9BB4 #B41B9B
tetradic
#9BB41B #1BB480 #341BB4 #B41B4E
square
#9BB41B #1BB480 #341BB4 #B41B4E
split-complementary
#9BB41B #1B4EB4 #801BB4
monochromatic
#3F4A0B #6D7F13 #9BB41B #C2DF2D #D2E762

Accessibility & contrast

On white

2.35
#9BB41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#9BB41B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB41B
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB41B#FFFFFF#000000##000000
##9BB41B1.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BDA92D
Tritanopia (blue-blind)
#A5AA99
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9bb41b;
/* rgb */ color: rgb(155, 180, 27);
/* oklch */ color: oklch(72.6% 0.165 119.5);
Tailwind
colors: {
  custom: {
    50: '#bdca69',
    500: '#9bb41b',
    950: '#000000',
  },
}
SCSS
$custom: #9bb41b;
$custom-light: #bdca69;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb41b",
  "rgb": {
    "r": 155,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 69.804,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.72576,
    "c": 0.16464,
    "h": 119.5
  },
  "luminance": 0.3969
}

Semantic roles & 50–950 ramp

primary
#9BB41B
secondary
#715FCC
accent
#37F156
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9BB41B

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

Preview Lab → · Contrast checker → · Palette generator →

#9BB41B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva