#8AB330#8AB330

#8AB330 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.2% C 0.161 H 125.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#8AB330
RGBrgb(138, 179, 48)
HSLhsl(79, 58%, 45%)
HSVhsv(79, 73%, 70%)
CMYKcmyk(22.9%, 0%, 73.2%, 29.8%)
CIE-LABlab(67.91, -32.47, 58.63)
CIE-LCHlch(67.91, 67.02, 118.98°)
OKLaboklab(71.24% -0.0938 0.1308)
OKLCHoklch(71.24% 0.161 125.6)
XYZxyz(27.1350, 37.8565, 8.6732)
Luminance0.3786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB330 #5930B3
analogous
#B39B30 #8AB330 #48B330
triadic
#8AB330 #308AB3 #B3308A
tetradic
#8AB330 #30B39B #5930B3 #B33048
square
#8AB330 #30B39B #5930B3 #B33048
split-complementary
#8AB330 #3048B3 #9B30B3
monochromatic
#405216 #658323 #8AB330 #A8D050 #C0DD80

Accessibility & contrast

On white

2.45
#8AB330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#8AB330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB330
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB330#FFFFFF#000000##000000
##8AB3301.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ab330;
/* rgb */ color: rgb(138, 179, 48);
/* oklch */ color: oklch(71.2% 0.161 125.6);
Tailwind
colors: {
  custom: {
    50: '#b0ca71',
    500: '#8ab330',
    950: '#000000',
  },
}
SCSS
$custom: #8ab330;
$custom-light: #b0ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab330",
  "rgb": {
    "r": 138,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 78.779,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71238,
    "c": 0.16096,
    "h": 125.6
  },
  "luminance": 0.37857
}

Semantic roles & 50–950 ramp

primary
#8AB330
secondary
#9179C6
accent
#47E177
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB330

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

Preview Lab → · Contrast checker → · Palette generator →

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