#8AAB2C#8AAB2C

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

Color values

HEX#8AAB2C
RGBrgb(138, 171, 44)
HSLhsl(76, 59%, 42%)
HSVhsv(76, 74%, 67%)
CMYKcmyk(19.3%, 0%, 74.3%, 32.9%)
CIE-LABlab(65.52, -28.91, 57.71)
CIE-LCHlch(65.52, 64.55, 116.61°)
OKLaboklab(69.29% -0.0844 0.1282)
OKLCHoklch(69.29% 0.154 123.3)
XYZxyz(25.4991, 34.7108, 7.7389)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8AAB2C #4D2CAB
analogous
#AB8D2C #8AAB2C #4AAB2C
triadic
#8AAB2C #2C8AAB #AB2C8A
tetradic
#8AAB2C #2CAB8D #4D2CAB #AB2C4A
square
#8AAB2C #2CAB8D #4D2CAB #AB2C4A
split-complementary
#8AAB2C #2C4AAB #8D2CAB
monochromatic
#3B4A13 #637A1F #8AAB2C #ABCF45 #C1DC76

Accessibility & contrast

On white

2.64
#8AAB2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8AAB2C#FFFFFF#000000##000000
##8AAB2C1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A012
Deuteranopia (green-blind)
#B19F38
Tritanopia (blue-blind)
#91A293
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #8aab2c;
/* rgb */ color: rgb(138, 171, 44);
/* oklch */ color: oklch(69.3% 0.154 123.3);
Tailwind
colors: {
  custom: {
    50: '#b0c46f',
    500: '#8aab2c',
    950: '#000000',
  },
}
SCSS
$custom: #8aab2c;
$custom-light: #b0c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#8aab2c",
  "rgb": {
    "r": 138,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 75.591,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.69294,
    "c": 0.15351,
    "h": 123.3
  },
  "luminance": 0.34711
}

Semantic roles & 50–950 ramp

primary
#8AAB2C
secondary
#856FC3
accent
#46E26E
background
#FBFCF7
surface
#F6F8ED
border
#D0D1C8
text
#111208
muted
#80817B

Preview Lab

Preview with #8AAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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