#80A040#80A040

#80A040 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.129 H 125.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#80A040
RGBrgb(128, 160, 64)
HSLhsl(80, 43%, 44%)
HSVhsv(80, 60%, 63%)
CMYKcmyk(20%, 0%, 60%, 37.3%)
CIE-LABlab(61.74, -26.25, 45.39)
CIE-LCHlch(61.74, 52.44, 120.04°)
OKLaboklab(66.12% -0.0746 0.1054)
OKLCHoklch(66.12% 0.129 125.3)
XYZxyz(22.3984, 30.1007, 9.4795)
Luminance0.3010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80A040 #6040A0
analogous
#A09040 #80A040 #50A040
triadic
#80A040 #4080A0 #A04080
tetradic
#80A040 #40A090 #6040A0 #A04050
square
#80A040 #40A090 #6040A0 #A04050
split-complementary
#80A040 #4050A0 #9040A0
monochromatic
#3A491D #5D742F #80A040 #9FBF5E #B9D08A

Accessibility & contrast

On white

2.99
#80A040 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#80A040 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #80A040
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80A040#FFFFFF#000000##000000
##80A0401.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89635
Deuteranopia (green-blind)
#A49547
Tritanopia (blue-blind)
#85998B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #80a040;
/* rgb */ color: rgb(128, 160, 64);
/* oklch */ color: oklch(66.1% 0.129 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7bc79',
    500: '#80a040',
    950: '#000000',
  },
}
SCSS
$custom: #80a040;
$custom-light: #a7bc79;
$custom-dark: #000000;
JSON
{
  "hex": "#80a040",
  "rgb": {
    "r": 128,
    "g": 160,
    "b": 64
  },
  "hsl": {
    "h": 80,
    "s": 42.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66117,
    "c": 0.12909,
    "h": 125.3
  },
  "luminance": 0.30101
}

Semantic roles & 50–950 ramp

primary
#80A040
secondary
#9481BB
accent
#55D37F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #80A040

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

Preview Lab → · Contrast checker → · Palette generator →

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