#9AB138#9AB138

#9AB138 is a light, vivid yellow-green. Relative luminance 0.386; OKLCH L 72.0% C 0.146 H 119.5°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#9AB138
RGBrgb(154, 177, 56)
HSLhsl(71, 52%, 46%)
HSVhsv(71, 68%, 69%)
CMYKcmyk(13%, 0%, 68.4%, 30.6%)
CIE-LABlab(68.46, -24.52, 56.53)
CIE-LCHlch(68.46, 61.62, 113.45°)
OKLaboklab(71.97% -0.0721 0.1273)
OKLCHoklch(71.97% 0.146 119.5)
XYZxyz(29.7629, 38.6000, 9.6232)
Luminance0.3860 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB138 #4F38B1
analogous
#B18B38 #9AB138 #5DB138
triadic
#9AB138 #389AB1 #B1389A
tetradic
#9AB138 #38B18B #4F38B1 #B1385D
square
#9AB138 #38B18B #4F38B1 #B1385D
split-complementary
#9AB138 #385DB1 #8B38B1
monochromatic
#49541B #728329 #9AB138 #B6CB5B #CBDA8A

Accessibility & contrast

On white

2.41
#9AB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#9AB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB138
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB138#FFFFFF#000000##000000
##9AB1381.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA726
Deuteranopia (green-blind)
#B9A741
Tritanopia (blue-blind)
#A3A899
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab138;
/* rgb */ color: rgb(154, 177, 56);
/* oklch */ color: oklch(72.0% 0.146 119.5);
Tailwind
colors: {
  custom: {
    50: '#bbc876',
    500: '#9ab138',
    950: '#000000',
  },
}
SCSS
$custom: #9ab138;
$custom-light: #bbc876;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab138",
  "rgb": {
    "r": 154,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 71.405,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71971,
    "c": 0.14629,
    "h": 119.5
  },
  "luminance": 0.386
}

Semantic roles & 50–950 ramp

primary
#9AB138
secondary
#8E81C4
accent
#4CDB68
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121309
muted
#81827B

Preview Lab

Preview with #9AB138

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

Preview Lab → · Contrast checker → · Palette generator →

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