#8AB62D#8AB62D

#8AB62D is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 71.9% C 0.166 H 126.2°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#8AB62D
RGBrgb(138, 182, 45)
HSLhsl(79, 60%, 45%)
HSVhsv(79, 75%, 71%)
CMYKcmyk(24.2%, 0%, 75.3%, 28.6%)
CIE-LABlab(68.79, -34.03, 60.50)
CIE-LCHlch(68.79, 69.41, 119.35°)
OKLaboklab(71.94% -0.0983 0.1343)
OKLCHoklch(71.94% 0.166 126.2)
XYZxyz(27.6830, 39.0482, 8.5607)
Luminance0.3905 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB62D #592DB6
analogous
#B69E2D #8AB62D #46B62D
triadic
#8AB62D #2D8AB6 #B62D8A
tetradic
#8AB62D #2DB69E #592DB6 #B62D46
square
#8AB62D #2DB69E #592DB6 #B62D46
split-complementary
#8AB62D #2D46B6 #9E2DB6
monochromatic
#405415 #658521 #8AB62D #A8D34D #C0DF7E

Accessibility & contrast

On white

2.38
#8AB62D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#8AB62D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB62D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB62D#FFFFFF#000000##000000
##8AB62D1.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA0D
Deuteranopia (green-blind)
#BAA73A
Tritanopia (blue-blind)
#90AD9C
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #8ab62d;
/* rgb */ color: rgb(138, 182, 45);
/* oklch */ color: oklch(71.9% 0.166 126.2);
Tailwind
colors: {
  custom: {
    50: '#b0cc70',
    500: '#8ab62d',
    950: '#000000',
  },
}
SCSS
$custom: #8ab62d;
$custom-light: #b0cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab62d",
  "rgb": {
    "r": 138,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 79.27,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.71938,
    "c": 0.16639,
    "h": 126.2
  },
  "luminance": 0.39049
}

Semantic roles & 50–950 ramp

primary
#8AB62D
secondary
#9177C8
accent
#44E377
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111308
muted
#80827B

Preview Lab

Preview with #8AB62D

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

Preview Lab → · Contrast checker → · Palette generator →

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