#80AF2C#80AF2C

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

Color values

HEX#80AF2C
RGBrgb(128, 175, 44)
HSLhsl(82, 60%, 43%)
HSVhsv(82, 75%, 69%)
CMYKcmyk(26.9%, 0%, 74.9%, 31.4%)
CIE-LABlab(66.08, -34.79, 58.03)
CIE-LCHlch(66.08, 67.66, 120.94°)
OKLaboklab(69.58% -0.0998 0.1291)
OKLCHoklch(69.58% 0.163 127.7)
XYZxyz(24.6867, 35.4304, 7.9205)
Luminance0.3543 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80AF2C #5B2CAF
analogous
#AF9C2C #80AF2C #3EAF2C
triadic
#80AF2C #2C80AF #AF2C80
tetradic
#80AF2C #2CAF9C #5B2CAF #AF2C3E
square
#80AF2C #2CAF9C #5B2CAF #AF2C3E
split-complementary
#80AF2C #2C3EAF #9C2CAF
monochromatic
#384D13 #5C7E20 #80AF2C #A0D147 #B9DD78

Accessibility & contrast

On white

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

On black

8.09
#80AF2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #80AF2C
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80AF2C#FFFFFF#000000##000000
##80AF2C1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #80af2c;
/* rgb */ color: rgb(128, 175, 44);
/* oklch */ color: oklch(69.6% 0.163 127.7);
Tailwind
colors: {
  custom: {
    50: '#a9c76f',
    500: '#80af2c',
    950: '#000000',
  },
}
SCSS
$custom: #80af2c;
$custom-light: #a9c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#80af2c",
  "rgb": {
    "r": 128,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 81.527,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69583,
    "c": 0.16325,
    "h": 127.7
  },
  "luminance": 0.35431
}

Semantic roles & 50–950 ramp

primary
#80AF2C
secondary
#9072C5
accent
#45E37E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #80AF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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