#8AB23A#8AB23A

#8AB23A is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 71.1% C 0.153 H 126.0°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#8AB23A
RGBrgb(138, 178, 58)
HSLhsl(80, 51%, 46%)
HSVhsv(80, 67%, 70%)
CMYKcmyk(22.5%, 0%, 67.4%, 30.2%)
CIE-LABlab(67.69, -31.37, 54.60)
CIE-LCHlch(67.69, 62.97, 119.88°)
OKLaboklab(71.08% -0.0899 0.1239)
OKLCHoklch(71.08% 0.153 126)
XYZxyz(27.1655, 37.5492, 9.8187)
Luminance0.3755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB23A #623AB2
analogous
#B29E3A #8AB23A #4EB23A
triadic
#8AB23A #3A8AB2 #B23A8A
tetradic
#8AB23A #3AB29E #623AB2 #B23A4E
square
#8AB23A #3AB29E #623AB2 #B23A4E
split-complementary
#8AB23A #3A4EB2 #9E3AB2
monochromatic
#42561C #66842B #8AB23A #A7CB5F #C0DA8D

Accessibility & contrast

On white

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

On black

8.51
#8AB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB23A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB23A#FFFFFF#000000##000000
##8AB23A1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA629
Deuteranopia (green-blind)
#B6A444
Tritanopia (blue-blind)
#90AA9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab23a;
/* rgb */ color: rgb(138, 178, 58);
/* oklch */ color: oklch(71.1% 0.153 126.0);
Tailwind
colors: {
  custom: {
    50: '#afc977',
    500: '#8ab23a',
    950: '#000000',
  },
}
SCSS
$custom: #8ab23a;
$custom-light: #afc977;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab23a",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 80,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71075,
    "c": 0.15305,
    "h": 126
  },
  "luminance": 0.3755
}

Semantic roles & 50–950 ramp

primary
#8AB23A
secondary
#9983C4
accent
#4DDA7C
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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