#9AB229#9AB229

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

Color values

HEX#9AB229
RGBrgb(154, 178, 41)
HSLhsl(71, 63%, 43%)
HSVhsv(71, 77%, 70%)
CMYKcmyk(13.5%, 0%, 77%, 30.2%)
CIE-LABlab(68.66, -25.81, 62.06)
CIE-LCHlch(68.66, 67.21, 112.58°)
OKLaboklab(72.1% -0.077 0.1364)
OKLCHoklch(72.1% 0.157 119.4)
XYZxyz(29.6477, 38.8711, 8.0384)
Luminance0.3887 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB229 #4129B2
analogous
#B28529 #9AB229 #55B229
triadic
#9AB229 #299AB2 #B2299A
tetradic
#9AB229 #29B285 #4129B2 #B22955
square
#9AB229 #29B285 #4129B2 #B22955
split-complementary
#9AB229 #2955B2 #8529B2
monochromatic
#444F12 #6F801E #9AB229 #BBD444 #CDDF76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB229#FFFFFF#000000##000000
##9AB2291.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)
#BEA802
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#A3A898
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab229;
/* rgb */ color: rgb(154, 178, 41);
/* oklch */ color: oklch(72.1% 0.157 119.4);
Tailwind
colors: {
  custom: {
    50: '#bbc96e',
    500: '#9ab229',
    950: '#000000',
  },
}
SCSS
$custom: #9ab229;
$custom-light: #bbc96e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab229",
  "rgb": {
    "r": 154,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 70.511,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.721,
    "c": 0.15667,
    "h": 119.4
  },
  "luminance": 0.38871
}

Semantic roles & 50–950 ramp

primary
#9AB229
secondary
#7F70C7
accent
#42E65F
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB229

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

Preview Lab → · Contrast checker → · Palette generator →

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