#8AAB28#8AAB28

#8AAB28 is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 69.3% C 0.156 H 123.2°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#8AAB28
RGBrgb(138, 171, 40)
HSLhsl(75, 62%, 41%)
HSVhsv(75, 77%, 67%)
CMYKcmyk(19.3%, 0%, 76.6%, 32.9%)
CIE-LABlab(65.50, -29.12, 59.04)
CIE-LCHlch(65.50, 65.83, 116.25°)
OKLaboklab(69.27% -0.0853 0.1304)
OKLCHoklch(69.27% 0.156 123.2)
XYZxyz(25.4275, 34.6821, 7.3618)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAB28 #4928AB
analogous
#AB8B28 #8AAB28 #48AB28
triadic
#8AAB28 #288AAB #AB288A
tetradic
#8AAB28 #28AB8B #4928AB #AB2848
square
#8AAB28 #28AB8B #4928AB #AB2848
split-complementary
#8AAB28 #2848AB #8B28AB
monochromatic
#3A4811 #62791C #8AAB28 #ADD23E #C2DE70

Accessibility & contrast

On white

2.65
#8AAB28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#8AAB28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8AAB28
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8AAB28#FFFFFF#000000##000000
##8AAB281.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A006
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#91A292
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8aab28;
/* rgb */ color: rgb(138, 171, 40);
/* oklch */ color: oklch(69.3% 0.156 123.2);
Tailwind
colors: {
  custom: {
    50: '#b0c46d',
    500: '#8aab28',
    950: '#000000',
  },
}
SCSS
$custom: #8aab28;
$custom-light: #b0c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#8aab28",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 40
  },
  "hsl": {
    "h": 75.115,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69269,
    "c": 0.15578,
    "h": 123.2
  },
  "luminance": 0.34682
}

Semantic roles & 50–950 ramp

primary
#8AAB28
secondary
#816AC4
accent
#43E56C
background
#FBFCF6
surface
#F6F8EC
border
#D0D1C7
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAB28

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

Preview Lab → · Contrast checker → · Palette generator →

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