#8AB23B#8AB23B

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

Color values

HEX#8AB23B
RGBrgb(138, 178, 59)
HSLhsl(80, 50%, 46%)
HSVhsv(80, 67%, 70%)
CMYKcmyk(22.5%, 0%, 66.9%, 30.2%)
CIE-LABlab(67.69, -31.30, 54.20)
CIE-LCHlch(67.69, 62.59, 120.00°)
OKLaboklab(71.08% -0.0896 0.1232)
OKLCHoklch(71.08% 0.152 126)
XYZxyz(27.1911, 37.5594, 9.9540)
Luminance0.3756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB23B #633BB2
analogous
#B29F3B #8AB23B #4FB23B
triadic
#8AB23B #3B8AB2 #B23B8A
tetradic
#8AB23B #3BB29F #633BB2 #B23B4F
square
#8AB23B #3BB29F #633BB2 #B23B4F
split-complementary
#8AB23B #3B4FB2 #9F3BB2
monochromatic
#43561D #66842C #8AB23B #A7CA60 #C0DA8E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB23B#FFFFFF#000000##000000
##8AB23B1.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)
#BBA62A
Deuteranopia (green-blind)
#B6A444
Tritanopia (blue-blind)
#90AA9A
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab23b;
/* rgb */ color: rgb(138, 178, 59);
/* oklch */ color: oklch(71.1% 0.152 126.0);
Tailwind
colors: {
  custom: {
    50: '#afc977',
    500: '#8ab23b',
    950: '#000000',
  },
}
SCSS
$custom: #8ab23b;
$custom-light: #afc977;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab23b",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 80.168,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71084,
    "c": 0.15232,
    "h": 126
  },
  "luminance": 0.3756
}

Semantic roles & 50–950 ramp

primary
#8AB23B
secondary
#9A85C4
accent
#4EDA7D
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111309
muted
#80827B

Preview Lab

Preview with #8AB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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