#9BB940#9BB940

#9BB940 is a light, vivid yellow-green. Relative luminance 0.420; OKLCH L 74.0% C 0.150 H 122.1°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#9BB940
RGBrgb(155, 185, 64)
HSLhsl(75, 49%, 49%)
HSVhsv(75, 65%, 73%)
CMYKcmyk(16.2%, 0%, 65.4%, 27.5%)
CIE-LABlab(70.90, -27.47, 55.87)
CIE-LCHlch(70.90, 62.25, 116.19°)
OKLaboklab(73.97% -0.0796 0.127)
OKLCHoklch(73.97% 0.15 122.1)
XYZxyz(31.7923, 42.0366, 11.2885)
Luminance0.4204 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB940 #5E40B9
analogous
#B99B40 #9BB940 #5FB940
triadic
#9BB940 #409BB9 #B9409B
tetradic
#9BB940 #40B99B #5E40B9 #B9405F
square
#9BB940 #40B99B #5E40B9 #B9405F
split-complementary
#9BB940 #405FB9 #9B40B9
monochromatic
#4F5E21 #758C30 #9BB940 #B4CC6B #CBDB98

Accessibility & contrast

On white

2.23
#9BB940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.41
#9BB940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB940
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB940#FFFFFF#000000##000000
##9BB9401.002.239.419.41
#FFFFFF2.231.0021.0021.00
#0000009.4121.001.001.00
##0000009.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE30
Deuteranopia (green-blind)
#C0AD49
Tritanopia (blue-blind)
#A3B0A0
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #9bb940;
/* rgb */ color: rgb(155, 185, 64);
/* oklch */ color: oklch(74.0% 0.150 122.1);
Tailwind
colors: {
  custom: {
    50: '#bbce7b',
    500: '#9bb940',
    950: '#000000',
  },
}
SCSS
$custom: #9bb940;
$custom-light: #bbce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb940",
  "rgb": {
    "r": 155,
    "g": 185,
    "b": 64
  },
  "hsl": {
    "h": 74.876,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73969,
    "c": 0.14992,
    "h": 122.1
  },
  "luminance": 0.42037
}

Semantic roles & 50–950 ramp

primary
#9BB940
secondary
#9C8EC7
accent
#50D871
background
#FBFCF7
surface
#F7F9EE
border
#D0D2C9
text
#12130A
muted
#81827C

Preview Lab

Preview with #9BB940

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

Preview Lab → · Contrast checker → · Palette generator →

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