#9BB338#9BB338

#9BB338 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.5% C 0.148 H 119.8°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#9BB338
RGBrgb(155, 179, 56)
HSLhsl(72, 52%, 46%)
HSVhsv(72, 69%, 70%)
CMYKcmyk(13.4%, 0%, 68.7%, 29.8%)
CIE-LABlab(69.11, -25.09, 57.22)
CIE-LCHlch(69.11, 62.47, 113.67°)
OKLaboklab(72.51% -0.0738 0.1287)
OKLCHoklch(72.51% 0.148 119.8)
XYZxyz(30.3520, 39.4944, 9.7648)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB338 #5038B3
analogous
#B38D38 #9BB338 #5DB338
triadic
#9BB338 #389BB3 #B3389B
tetradic
#9BB338 #38B38D #5038B3 #B3385D
square
#9BB338 #38B38D #5038B3 #B3385D
split-complementary
#9BB338 #385DB3 #8D38B3
monochromatic
#4A561B #738429 #9BB338 #B6CC5C #CBDB8B

Accessibility & contrast

On white

2.36
#9BB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#9BB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB338
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB338#FFFFFF#000000##000000
##9BB3381.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA925
Deuteranopia (green-blind)
#BBA942
Tritanopia (blue-blind)
#A4AA9A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #9bb338;
/* rgb */ color: rgb(155, 179, 56);
/* oklch */ color: oklch(72.5% 0.148 119.8);
Tailwind
colors: {
  custom: {
    50: '#bcc976',
    500: '#9bb338',
    950: '#000000',
  },
}
SCSS
$custom: #9bb338;
$custom-light: #bcc976;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb338",
  "rgb": {
    "r": 155,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 71.707,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7251,
    "c": 0.14833,
    "h": 119.8
  },
  "luminance": 0.39494
}

Semantic roles & 50–950 ramp

primary
#9BB338
secondary
#8F82C5
accent
#4CDC68
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9BB338

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

Preview Lab → · Contrast checker → · Palette generator →

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