#9AB231#9AB231

#9AB231 is a light, vivid yellow-green. Relative luminance 0.389; OKLCH L 72.2% C 0.152 H 119.7°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#9AB231
RGBrgb(154, 178, 49)
HSLhsl(71, 57%, 45%)
HSVhsv(71, 72%, 70%)
CMYKcmyk(13.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(68.70, -25.42, 59.40)
CIE-LCHlch(68.70, 64.61, 113.16°)
OKLaboklab(72.15% -0.0753 0.1322)
OKLCHoklch(72.15% 0.152 119.7)
XYZxyz(29.8018, 38.9327, 8.8499)
Luminance0.3893 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB231 #4931B2
analogous
#B28A31 #9AB231 #5AB231
triadic
#9AB231 #319AB2 #B2319A
tetradic
#9AB231 #31B28A #4931B2 #B2315A
square
#9AB231 #31B28A #4931B2 #B2315A
split-complementary
#9AB231 #315AB2 #8A31B2
monochromatic
#475217 #708224 #9AB231 #B8CF51 #CBDC81

Accessibility & contrast

On white

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

On black

8.79
#9AB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB231
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB231#FFFFFF#000000##000000
##9AB2311.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA819
Deuteranopia (green-blind)
#BBA83C
Tritanopia (blue-blind)
#A3A899
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9ab231;
/* rgb */ color: rgb(154, 178, 49);
/* oklch */ color: oklch(72.2% 0.152 119.7);
Tailwind
colors: {
  custom: {
    50: '#bbc972',
    500: '#9ab231',
    950: '#000000',
  },
}
SCSS
$custom: #9ab231;
$custom-light: #bbc972;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab231",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 71.163,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.72151,
    "c": 0.1521,
    "h": 119.7
  },
  "luminance": 0.38933
}

Semantic roles & 50–950 ramp

primary
#9AB231
secondary
#8879C5
accent
#48E064
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB231

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

Preview Lab → · Contrast checker → · Palette generator →

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