#8AB417#8AB417

#8AB417 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.4% C 0.174 H 125.0°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#8AB417
RGBrgb(138, 180, 23)
HSLhsl(76, 77%, 40%)
HSVhsv(76, 87%, 71%)
CMYKcmyk(23.3%, 0%, 87.2%, 29.4%)
CIE-LABlab(68.10, -33.99, 65.86)
CIE-LCHlch(68.10, 74.11, 117.30°)
OKLaboklab(71.35% -0.0996 0.1422)
OKLCHoklch(71.35% 0.174 125)
XYZxyz(26.9574, 38.1073, 6.7457)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB417 #4117B4
analogous
#B49017 #8AB417 #3BB417
triadic
#8AB417 #178AB4 #B4178A
tetradic
#8AB417 #17B490 #4117B4 #B4173B
square
#8AB417 #17B490 #4117B4 #B4173B
split-complementary
#8AB417 #173BB4 #9017B4
monochromatic
#374709 #607E10 #8AB417 #B0E325 #C4EA5B

Accessibility & contrast

On white

2.44
#8AB417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#8AB417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AB417
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AB417#FFFFFF#000000##000000
##8AB4171.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#B9A52C
Tritanopia (blue-blind)
#91AB99
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #8ab417;
/* rgb */ color: rgb(138, 180, 23);
/* oklch */ color: oklch(71.4% 0.174 125.0);
Tailwind
colors: {
  custom: {
    50: '#b1ca67',
    500: '#8ab417',
    950: '#000000',
  },
}
SCSS
$custom: #8ab417;
$custom-light: #b1ca67;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab417",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 76.051,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.71352,
    "c": 0.1736,
    "h": 125
  },
  "luminance": 0.38108
}

Semantic roles & 50–950 ramp

primary
#8AB417
secondary
#7859CE
accent
#34F467
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB417

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

Preview Lab → · Contrast checker → · Palette generator →

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