#8AB642#8AB642

#8AB642 is a light, vivid yellow-green. Relative luminance 0.393; OKLCH L 72.1% C 0.152 H 127.5°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#8AB642
RGBrgb(138, 182, 66)
HSLhsl(83, 47%, 49%)
HSVhsv(83, 64%, 71%)
CMYKcmyk(24.2%, 0%, 63.7%, 28.6%)
CIE-LABlab(68.93, -32.64, 52.60)
CIE-LCHlch(68.93, 61.91, 121.82°)
OKLaboklab(72.1% -0.0927 0.1207)
OKLCHoklch(72.1% 0.152 127.5)
XYZxyz(28.1925, 39.2520, 11.2443)
Luminance0.3925 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB642 #6E42B6
analogous
#B6A842 #8AB642 #50B642
triadic
#8AB642 #428AB6 #B6428A
tetradic
#8AB642 #42B6A8 #6E42B6 #B64250
square
#8AB642 #42B6A8 #6E42B6 #B64250
split-complementary
#8AB642 #4250B6 #A842B6
monochromatic
#465C21 #688932 #8AB642 #A6CA6C #C1DA99

Accessibility & contrast

On white

2.37
#8AB642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.85
#8AB642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB642
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB642#FFFFFF#000000##000000
##8AB6421.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#B9A74B
Tritanopia (blue-blind)
#8FAE9E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ab642;
/* rgb */ color: rgb(138, 182, 66);
/* oklch */ color: oklch(72.1% 0.152 127.5);
Tailwind
colors: {
  custom: {
    50: '#afcc7c',
    500: '#8ab642',
    950: '#000000',
  },
}
SCSS
$custom: #8ab642;
$custom-light: #afcc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab642",
  "rgb": {
    "r": 138,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 82.759,
    "s": 46.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72105,
    "c": 0.15221,
    "h": 127.5
  },
  "luminance": 0.39253
}

Semantic roles & 50–950 ramp

primary
#8AB642
secondary
#A38EC6
accent
#51D684
background
#FBFCF7
surface
#F6F8EE
border
#D0D1C9
text
#11130A
muted
#80827C

Preview Lab

Preview with #8AB642

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

Preview Lab → · Contrast checker → · Palette generator →

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