#8AB323#8AB323

#8AB323 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.2% C 0.168 H 125.1°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#8AB323
RGBrgb(138, 179, 35)
HSLhsl(77, 67%, 42%)
HSVhsv(77, 80%, 70%)
CMYKcmyk(22.9%, 0%, 80.4%, 29.8%)
CIE-LABlab(67.85, -33.11, 62.72)
CIE-LCHlch(67.85, 70.92, 117.83°)
OKLaboklab(71.16% -0.0965 0.1373)
OKLCHoklch(71.16% 0.168 125.1)
XYZxyz(26.9050, 37.7645, 7.4616)
Luminance0.3776 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB323 #4C23B3
analogous
#B39423 #8AB323 #42B323
triadic
#8AB323 #238AB3 #B3238A
tetradic
#8AB323 #23B394 #4C23B3 #B32342
square
#8AB323 #23B394 #4C23B3 #B32342
split-complementary
#8AB323 #2342B3 #9423B3
monochromatic
#3B4D0F #638019 #8AB323 #ACD93B #C1E36E

Accessibility & contrast

On white

2.46
#8AB323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#8AB323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB323
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB323#FFFFFF#000000##000000
##8AB3231.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA700
Deuteranopia (green-blind)
#B8A533
Tritanopia (blue-blind)
#91AA99
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab323;
/* rgb */ color: rgb(138, 179, 35);
/* oklch */ color: oklch(71.2% 0.168 125.1);
Tailwind
colors: {
  custom: {
    50: '#b0ca6c',
    500: '#8ab323',
    950: '#000000',
  },
}
SCSS
$custom: #8ab323;
$custom-light: #b0ca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab323",
  "rgb": {
    "r": 138,
    "g": 179,
    "b": 35
  },
  "hsl": {
    "h": 77.083,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.71161,
    "c": 0.16784,
    "h": 125.1
  },
  "luminance": 0.37765
}

Semantic roles & 50–950 ramp

primary
#8AB323
secondary
#8469C9
accent
#3EEA6F
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB323

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

Preview Lab → · Contrast checker → · Palette generator →

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