#80AF31#80AF31

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

Color values

HEX#80AF31
RGBrgb(128, 175, 49)
HSLhsl(82, 56%, 44%)
HSVhsv(82, 72%, 69%)
CMYKcmyk(26.9%, 0%, 72%, 31.4%)
CIE-LABlab(66.11, -34.49, 56.28)
CIE-LCHlch(66.11, 66.01, 121.50°)
OKLaboklab(69.62% -0.0986 0.1263)
OKLCHoklch(69.62% 0.16 128)
XYZxyz(24.7864, 35.4703, 8.4457)
Luminance0.3547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80AF31 #6031AF
analogous
#AF9F31 #80AF31 #41AF31
triadic
#80AF31 #3180AF #AF3180
tetradic
#80AF31 #31AF9F #6031AF #AF3141
square
#80AF31 #31AF9F #6031AF #AF3141
split-complementary
#80AF31 #3141AF #9F31AF
monochromatic
#3A4F16 #5D7F24 #80AF31 #9FCE4F #B9DB7F

Accessibility & contrast

On white

2.59
#80AF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##80AF31#FFFFFF#000000##000000
##80AF311.002.598.098.09
#FFFFFF2.591.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31B
Deuteranopia (green-blind)
#B1A03C
Tritanopia (blue-blind)
#84A796
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #80af31;
/* rgb */ color: rgb(128, 175, 49);
/* oklch */ color: oklch(69.6% 0.160 128.0);
Tailwind
colors: {
  custom: {
    50: '#a9c771',
    500: '#80af31',
    950: '#000000',
  },
}
SCSS
$custom: #80af31;
$custom-light: #a9c771;
$custom-dark: #000000;
JSON
{
  "hex": "#80af31",
  "rgb": {
    "r": 128,
    "g": 175,
    "b": 49
  },
  "hsl": {
    "h": 82.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69618,
    "c": 0.16022,
    "h": 128
  },
  "luminance": 0.35471
}

Semantic roles & 50–950 ramp

primary
#80AF31
secondary
#9478C4
accent
#48E081
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #80AF31

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

Preview Lab → · Contrast checker → · Palette generator →

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