#9AB127#9AB127

#9AB127 is a light, vivid yellow-green. Relative luminance 0.385; OKLCH L 71.9% C 0.157 H 119.1°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#9AB127
RGBrgb(154, 177, 39)
HSLhsl(70, 64%, 42%)
HSVhsv(70, 78%, 69%)
CMYKcmyk(13%, 0%, 78%, 30.6%)
CIE-LABlab(68.36, -25.41, 62.41)
CIE-LCHlch(68.36, 67.38, 112.15°)
OKLaboklab(71.86% -0.0761 0.1368)
OKLCHoklch(71.86% 0.157 119.1)
XYZxyz(29.4154, 38.4610, 7.7932)
Luminance0.3846 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB127 #3E27B1
analogous
#B18327 #9AB127 #55B127
triadic
#9AB127 #279AB1 #B1279A
tetradic
#9AB127 #27B183 #3E27B1 #B12755
square
#9AB127 #27B183 #3E27B1 #B12755
split-complementary
#9AB127 #2755B1 #8327B1
monochromatic
#434D11 #6E7F1C #9AB127 #BCD540 #CEE072

Accessibility & contrast

On white

2.42
#9AB127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.69
#9AB127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB127
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB127#FFFFFF#000000##000000
##9AB1271.002.428.698.69
#FFFFFF2.421.0021.0021.00
#0000008.6921.001.001.00
##0000008.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#A3A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab127;
/* rgb */ color: rgb(154, 177, 39);
/* oklch */ color: oklch(71.9% 0.157 119.1);
Tailwind
colors: {
  custom: {
    50: '#bbc86d',
    500: '#9ab127',
    950: '#000000',
  },
}
SCSS
$custom: #9ab127;
$custom-light: #bbc86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab127",
  "rgb": {
    "r": 154,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 70,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.71857,
    "c": 0.15655,
    "h": 119.1
  },
  "luminance": 0.38461
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9AB127

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

Preview Lab → · Contrast checker → · Palette generator →

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