#8AB22F#8AB22F

#8AB22F is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 71.0% C 0.160 H 125.4°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#8AB22F
RGBrgb(138, 178, 47)
HSLhsl(78, 58%, 44%)
HSVhsv(78, 74%, 70%)
CMYKcmyk(22.5%, 0%, 73.6%, 30.2%)
CIE-LABlab(67.61, -32.06, 58.69)
CIE-LCHlch(67.61, 66.87, 118.65°)
OKLaboklab(70.99% -0.0928 0.1308)
OKLCHoklch(70.99% 0.16 125.4)
XYZxyz(26.9149, 37.4490, 8.4992)
Luminance0.3745 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB22F #572FB2
analogous
#B2992F #8AB22F #48B22F
triadic
#8AB22F #2F8AB2 #B22F8A
tetradic
#8AB22F #2FB299 #572FB2 #B22F48
square
#8AB22F #2FB299 #572FB2 #B22F48
split-complementary
#8AB22F #2F48B2 #992FB2
monochromatic
#3F5115 #648222 #8AB22F #A8D04E #C0DD7E

Accessibility & contrast

On white

2.47
#8AB22F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#8AB22F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB22F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB22F#FFFFFF#000000##000000
##8AB22F1.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA615
Deuteranopia (green-blind)
#B6A43B
Tritanopia (blue-blind)
#90A999
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab22f;
/* rgb */ color: rgb(138, 178, 47);
/* oklch */ color: oklch(71.0% 0.160 125.4);
Tailwind
colors: {
  custom: {
    50: '#b0c971',
    500: '#8ab22f',
    950: '#000000',
  },
}
SCSS
$custom: #8ab22f;
$custom-light: #b0c971;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab22f",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 47
  },
  "hsl": {
    "h": 78.321,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.70991,
    "c": 0.16032,
    "h": 125.4
  },
  "luminance": 0.37449
}

Semantic roles & 50–950 ramp

primary
#8AB22F
secondary
#8F77C6
accent
#46E176
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB22F

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

Preview Lab → · Contrast checker → · Palette generator →

#8AB22F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva