#8AB231#8AB231

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

Color values

HEX#8AB231
RGBrgb(138, 178, 49)
HSLhsl(79, 57%, 45%)
HSVhsv(79, 72%, 70%)
CMYKcmyk(22.5%, 0%, 72.5%, 30.2%)
CIE-LABlab(67.62, -31.95, 57.98)
CIE-LCHlch(67.62, 66.20, 118.85°)
OKLaboklab(71.01% -0.0923 0.1296)
OKLCHoklch(71.01% 0.159 125.5)
XYZxyz(26.9562, 37.4655, 8.7165)
Luminance0.3747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB231 #5931B2
analogous
#B29A31 #8AB231 #49B231
triadic
#8AB231 #318AB2 #B2318A
tetradic
#8AB231 #31B29A #5931B2 #B23149
square
#8AB231 #31B29A #5931B2 #B23149
split-complementary
#8AB231 #3149B2 #9A31B2
monochromatic
#405217 #658224 #8AB231 #A8CF51 #C0DC81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB231#FFFFFF#000000##000000
##8AB2311.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)
#BCA619
Deuteranopia (green-blind)
#B6A43C
Tritanopia (blue-blind)
#90A999
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #8ab231;
/* rgb */ color: rgb(138, 178, 49);
/* oklch */ color: oklch(71.0% 0.159 125.5);
Tailwind
colors: {
  custom: {
    50: '#b0c972',
    500: '#8ab231',
    950: '#000000',
  },
}
SCSS
$custom: #8ab231;
$custom-light: #b0c972;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab231",
  "rgb": {
    "r": 138,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 78.605,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71005,
    "c": 0.1591,
    "h": 125.5
  },
  "luminance": 0.37466
}

Semantic roles & 50–950 ramp

primary
#8AB231
secondary
#9179C5
accent
#48E077
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB231

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

Preview Lab → · Contrast checker → · Palette generator →

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