#80AF2A#80AF2A

#80AF2A is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.6% C 0.164 H 127.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#80AF2A
RGBrgb(128, 175, 42)
HSLhsl(81, 61%, 43%)
HSVhsv(81, 76%, 69%)
CMYKcmyk(26.9%, 0%, 76%, 31.4%)
CIE-LABlab(66.07, -34.90, 58.70)
CIE-LCHlch(66.07, 68.29, 120.73°)
OKLaboklab(69.57% -0.1003 0.1302)
OKLCHoklch(69.57% 0.164 127.6)
XYZxyz(24.6500, 35.4158, 7.7273)
Luminance0.3542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80AF2A #592AAF
analogous
#AF9B2A #80AF2A #3EAF2A
triadic
#80AF2A #2A80AF #AF2A80
tetradic
#80AF2A #2AAF9B #592AAF #AF2A3E
square
#80AF2A #2AAF9B #592AAF #AF2A3E
split-complementary
#80AF2A #2A3EAF #9B2AAF
monochromatic
#384C12 #5C7E1E #80AF2A #A0D244 #B9DE75

Accessibility & contrast

On white

2.60
#80AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#80AF2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #80AF2A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80AF2A#FFFFFF#000000##000000
##80AF2A1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A30A
Deuteranopia (green-blind)
#B2A037
Tritanopia (blue-blind)
#85A796
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #80af2a;
/* rgb */ color: rgb(128, 175, 42);
/* oklch */ color: oklch(69.6% 0.164 127.6);
Tailwind
colors: {
  custom: {
    50: '#a9c76e',
    500: '#80af2a',
    950: '#000000',
  },
}
SCSS
$custom: #80af2a;
$custom-light: #a9c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#80af2a",
  "rgb": {
    "r": 128,
    "g": 175,
    "b": 42
  },
  "hsl": {
    "h": 81.203,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69571,
    "c": 0.16438,
    "h": 127.6
  },
  "luminance": 0.35416
}

Semantic roles & 50–950 ramp

primary
#80AF2A
secondary
#8E6FC6
accent
#43E47C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #80AF2A

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

Preview Lab → · Contrast checker → · Palette generator →

#80AF2A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva