#8AB418#8AB418

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

Color values

HEX#8AB418
RGBrgb(138, 180, 24)
HSLhsl(76, 76%, 40%)
HSVhsv(76, 87%, 71%)
CMYKcmyk(23.3%, 0%, 86.7%, 29.4%)
CIE-LABlab(68.10, -33.96, 65.66)
CIE-LCHlch(68.10, 73.92, 117.35°)
OKLaboklab(71.36% -0.0995 0.1419)
OKLCHoklch(71.36% 0.173 125)
XYZxyz(26.9676, 38.1114, 6.7994)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AB418 #4218B4
analogous
#B49018 #8AB418 #3CB418
triadic
#8AB418 #188AB4 #B4188A
tetradic
#8AB418 #18B490 #4218B4 #B4183C
square
#8AB418 #18B490 #4218B4 #B4183C
split-complementary
#8AB418 #183CB4 #9018B4
monochromatic
#37480A #617E11 #8AB418 #B0E227 #C4E95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AB418#FFFFFF#000000##000000
##8AB4181.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: #8ab418;
/* rgb */ color: rgb(138, 180, 24);
/* oklch */ color: oklch(71.4% 0.173 125.0);
Tailwind
colors: {
  custom: {
    50: '#b1ca68',
    500: '#8ab418',
    950: '#000000',
  },
}
SCSS
$custom: #8ab418;
$custom-light: #b1ca68;
$custom-dark: #000000;
JSON
{
  "hex": "#8ab418",
  "rgb": {
    "r": 138,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 76.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.71355,
    "c": 0.17327,
    "h": 125
  },
  "luminance": 0.38112
}

Semantic roles & 50–950 ramp

primary
#8AB418
secondary
#795BCD
accent
#35F368
background
#FBFCF6
surface
#F6F8EB
border
#D0D1C6
text
#111307
muted
#80827A

Preview Lab

Preview with #8AB418

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

Preview Lab → · Contrast checker → · Palette generator →

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