#9AB226#9AB226

#9AB226 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#9AB226
RGBrgb(154, 178, 38)
HSLhsl(70, 65%, 42%)
HSVhsv(70, 79%, 70%)
CMYKcmyk(13.5%, 0%, 78.7%, 30.2%)
CIE-LABlab(68.64, -25.94, 62.97)
CIE-LCHlch(68.64, 68.10, 112.39°)
OKLaboklab(72.08% -0.0776 0.1378)
OKLCHoklch(72.08% 0.158 119.4)
XYZxyz(29.5973, 38.8509, 7.7731)
Luminance0.3885 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB226 #3E26B2
analogous
#B28426 #9AB226 #54B226
triadic
#9AB226 #269AB2 #B2269A
tetradic
#9AB226 #26B284 #3E26B2 #B22654
square
#9AB226 #26B284 #3E26B2 #B22654
split-complementary
#9AB226 #2654B2 #8426B2
monochromatic
#434D10 #6E801B #9AB226 #BCD63F #CEE172

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB226#FFFFFF#000000##000000
##9AB2261.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)
#BEA700
Deuteranopia (green-blind)
#BBA834
Tritanopia (blue-blind)
#A3A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab226;
/* rgb */ color: rgb(154, 178, 38);
/* oklch */ color: oklch(72.1% 0.158 119.4);
Tailwind
colors: {
  custom: {
    50: '#bbc96d',
    500: '#9ab226',
    950: '#000000',
  },
}
SCSS
$custom: #9ab226;
$custom-light: #bbc96d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab226",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 38
  },
  "hsl": {
    "h": 70.286,
    "s": 64.815,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72084,
    "c": 0.15818,
    "h": 119.4
  },
  "luminance": 0.38851
}

Semantic roles & 50–950 ramp

primary
#9AB226
secondary
#7C6CC8
accent
#40E85D
background
#FBFCF6
surface
#F7F8EC
border
#D0D1C7
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB226

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

Preview Lab → · Contrast checker → · Palette generator →

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