#9AB628#9AB628

#9AB628 is a light, vivid yellow-green. Relative luminance 0.405; OKLCH L 73.0% C 0.162 H 120.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#9AB628
RGBrgb(154, 182, 40)
HSLhsl(72, 64%, 44%)
HSVhsv(72, 78%, 71%)
CMYKcmyk(15.4%, 0%, 78%, 28.6%)
CIE-LABlab(69.81, -27.79, 63.43)
CIE-LCHlch(69.81, 69.25, 113.66°)
OKLaboklab(73.03% -0.0825 0.1392)
OKLCHoklch(73.03% 0.162 120.7)
XYZxyz(30.4379, 40.4792, 8.2168)
Luminance0.4048 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB628 #4428B6
analogous
#B68B28 #9AB628 #53B628
triadic
#9AB628 #289AB6 #B6289A
tetradic
#9AB628 #28B68B #4428B6 #B62853
square
#9AB628 #28B68B #4428B6 #B62853
split-complementary
#9AB628 #2853B6 #8B28B6
monochromatic
#455212 #70841D #9AB628 #BAD645 #CCE177

Accessibility & contrast

On white

2.31
#9AB628 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#9AB628 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB628
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB628#FFFFFF#000000##000000
##9AB6281.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#BEAB36
Tritanopia (blue-blind)
#A3AC9C
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #9ab628;
/* rgb */ color: rgb(154, 182, 40);
/* oklch */ color: oklch(73.0% 0.162 120.7);
Tailwind
colors: {
  custom: {
    50: '#bccb6e',
    500: '#9ab628',
    950: '#000000',
  },
}
SCSS
$custom: #9ab628;
$custom-light: #bccb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab628",
  "rgb": {
    "r": 154,
    "g": 182,
    "b": 40
  },
  "hsl": {
    "h": 71.831,
    "s": 63.964,
    "l": 43.529
  },
  "oklch": {
    "l": 0.73027,
    "c": 0.16179,
    "h": 120.7
  },
  "luminance": 0.40479
}

Semantic roles & 50–950 ramp

primary
#9AB628
secondary
#8271C9
accent
#41E762
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB628

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

Preview Lab → · Contrast checker → · Palette generator →

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