#9AB122#9AB122

#9AB122 is a light, vivid yellow. Relative luminance 0.384; OKLCH L 71.8% C 0.159 H 119.0°. Best body text is #000000 at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#9AB122
RGBrgb(154, 177, 34)
HSLhsl(70, 68%, 41%)
HSVhsv(70, 81%, 69%)
CMYKcmyk(13%, 0%, 80.8%, 30.6%)
CIE-LABlab(68.34, -25.61, 63.84)
CIE-LCHlch(68.34, 68.79, 111.86°)
OKLaboklab(71.83% -0.077 0.139)
OKLCHoklch(71.83% 0.159 119)
XYZxyz(29.3380, 38.4300, 7.3853)
Luminance0.3843 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB122 #3922B1
analogous
#B18122 #9AB122 #53B122
triadic
#9AB122 #229AB1 #B1229A
tetradic
#9AB122 #22B181 #3922B1 #B12253
square
#9AB122 #22B181 #3922B1 #B12253
split-complementary
#9AB122 #2253B1 #8122B1
monochromatic
#414A0E #6D7E18 #9AB122 #BFD938 #CFE36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9AB122#FFFFFF#000000##000000
##9AB1221.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)
#BAA731
Tritanopia (blue-blind)
#A4A797
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9ab122;
/* rgb */ color: rgb(154, 177, 34);
/* oklch */ color: oklch(71.8% 0.159 119.0);
Tailwind
colors: {
  custom: {
    50: '#bcc86b',
    500: '#9ab122',
    950: '#000000',
  },
}
SCSS
$custom: #9ab122;
$custom-light: #bcc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab122",
  "rgb": {
    "r": 154,
    "g": 177,
    "b": 34
  },
  "hsl": {
    "h": 69.65,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71831,
    "c": 0.15891,
    "h": 119
  },
  "luminance": 0.3843
}

Semantic roles & 50–950 ramp

primary
#9AB122
secondary
#7666C9
accent
#3DEB59
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#121307
muted
#81827A

Preview Lab

Preview with #9AB122

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

Preview Lab → · Contrast checker → · Palette generator →

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