#9BB238#9BB238

#9BB238 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 72.3% C 0.147 H 119.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#9BB238
RGBrgb(155, 178, 56)
HSLhsl(71, 52%, 46%)
HSVhsv(71, 69%, 70%)
CMYKcmyk(12.9%, 0%, 68.5%, 30.2%)
CIE-LABlab(68.82, -24.60, 56.92)
CIE-LCHlch(68.82, 62.01, 113.37°)
OKLaboklab(72.28% -0.0724 0.1281)
OKLCHoklch(72.28% 0.147 119.5)
XYZxyz(30.1523, 39.0950, 9.6983)
Luminance0.3910 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9BB238 #4F38B2
analogous
#B28C38 #9BB238 #5EB238
triadic
#9BB238 #389BB2 #B2389B
tetradic
#9BB238 #38B28C #4F38B2 #B2385E
square
#9BB238 #38B28C #4F38B2 #B2385E
split-complementary
#9BB238 #385EB2 #8C38B2
monochromatic
#4A551B #728329 #9BB238 #B6CC5C #CBDA8A

Accessibility & contrast

On white

2.38
#9BB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#9BB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9BB238
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9BB238#FFFFFF#000000##000000
##9BB2381.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#BBA841
Tritanopia (blue-blind)
#A4A99A
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9bb238;
/* rgb */ color: rgb(155, 178, 56);
/* oklch */ color: oklch(72.3% 0.147 119.5);
Tailwind
colors: {
  custom: {
    50: '#bbc976',
    500: '#9bb238',
    950: '#000000',
  },
}
SCSS
$custom: #9bb238;
$custom-light: #bbc976;
$custom-dark: #000000;
JSON
{
  "hex": "#9bb238",
  "rgb": {
    "r": 155,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 71.311,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.14711,
    "h": 119.5
  },
  "luminance": 0.39095
}

Semantic roles & 50–950 ramp

primary
#9BB238
secondary
#8E81C5
accent
#4CDC67
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9BB238

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

Preview Lab → · Contrast checker → · Palette generator →

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