#9AB02F#9AB02F

#9AB02F is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.7% C 0.151 H 118.9°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#9AB02F
RGBrgb(154, 176, 47)
HSLhsl(70, 58%, 44%)
HSVhsv(70, 73%, 69%)
CMYKcmyk(12.5%, 0%, 73.3%, 31%)
CIE-LABlab(68.11, -24.54, 59.54)
CIE-LCHlch(68.11, 64.40, 112.40°)
OKLaboklab(71.67% -0.073 0.1321)
OKLCHoklch(71.67% 0.151 118.9)
XYZxyz(29.3655, 38.1261, 8.5009)
Luminance0.3813 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9AB02F #452FB0
analogous
#B0852F #9AB02F #59B02F
triadic
#9AB02F #2F9AB0 #B02F9A
tetradic
#9AB02F #2FB085 #452FB0 #B02F59
square
#9AB02F #2FB085 #452FB0 #B02F59
split-complementary
#9AB02F #2F59B0 #852FB0
monochromatic
#454F15 #708022 #9AB02F #B9CF4D #CCDC7D

Accessibility & contrast

On white

2.43
#9AB02F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.63
#9AB02F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9AB02F
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9AB02F#FFFFFF#000000##000000
##9AB02F1.002.438.638.63
#FFFFFF2.431.0021.0021.00
#0000008.6321.001.001.00
##0000008.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA616
Deuteranopia (green-blind)
#B9A63A
Tritanopia (blue-blind)
#A3A697
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #9ab02f;
/* rgb */ color: rgb(154, 176, 47);
/* oklch */ color: oklch(71.7% 0.151 118.9);
Tailwind
colors: {
  custom: {
    50: '#bbc771',
    500: '#9ab02f',
    950: '#000000',
  },
}
SCSS
$custom: #9ab02f;
$custom-light: #bbc771;
$custom-dark: #000000;
JSON
{
  "hex": "#9ab02f",
  "rgb": {
    "r": 154,
    "g": 176,
    "b": 47
  },
  "hsl": {
    "h": 70.233,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71673,
    "c": 0.15098,
    "h": 118.9
  },
  "luminance": 0.38126
}

Semantic roles & 50–950 ramp

primary
#9AB02F
secondary
#8376C5
accent
#47E161
background
#FBFCF7
surface
#F7F8ED
border
#D0D1C8
text
#121308
muted
#81827B

Preview Lab

Preview with #9AB02F

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

Preview Lab → · Contrast checker → · Palette generator →

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