#9AB227#9AB227

#9AB227 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.1% C 0.158 H 119.4°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#9AB227
RGBrgb(154, 178, 39)
HSLhsl(70, 64%, 43%)
HSVhsv(70, 78%, 70%)
CMYKcmyk(13.5%, 0%, 78.1%, 30.2%)
CIE-LABlab(68.65, -25.90, 62.67)
CIE-LCHlch(68.65, 67.81, 112.45°)
OKLaboklab(72.09% -0.0774 0.1374)
OKLCHoklch(72.09% 0.158 119.4)
XYZxyz(29.6137, 38.8575, 7.8592)
Luminance0.3886 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB227 #3F27B2
analogous
#B28527 #9AB227 #54B227
triadic
#9AB227 #279AB2 #B2279A
tetradic
#9AB227 #27B285 #3F27B2 #B22754
square
#9AB227 #27B285 #3F27B2 #B22754
split-complementary
#9AB227 #2754B2 #8527B2
monochromatic
#434E11 #6F801C #9AB227 #BCD541 #CDE073

Accessibility & contrast

On white

2.39
#9AB227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#9AB227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB227
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB227#FFFFFF#000000##000000
##9AB2271.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#A3A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab227;
/* rgb */ color: rgb(154, 178, 39);
/* oklch */ color: oklch(72.1% 0.158 119.4);
Tailwind
colors: {
  custom: {
    50: '#bbc96d',
    500: '#9ab227',
    950: '#000000',
  },
}
SCSS
$custom: #9ab227;
$custom-light: #bbc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab227",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 70.36,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.72089,
    "c": 0.15769,
    "h": 119.4
  },
  "luminance": 0.38857
}

Semantic roles & 50–950 ramp

primary
#9AB227
secondary
#7D6DC8
accent
#41E75D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB227

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

Preview Lab → · Contrast checker → · Palette generator →

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