#80A42F#80A42F

#80A42F is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.9% C 0.148 H 125.2°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#80A42F
RGBrgb(128, 164, 47)
HSLhsl(78, 55%, 41%)
HSVhsv(78, 71%, 64%)
CMYKcmyk(22%, 0%, 71.3%, 35.7%)
CIE-LABlab(62.80, -29.47, 53.72)
CIE-LCHlch(62.80, 61.27, 118.75°)
OKLaboklab(66.93% -0.0851 0.1206)
OKLCHoklch(66.93% 0.148 125.2)
XYZxyz(22.6908, 31.3451, 7.5435)
Luminance0.3135 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#80A42F #532FA4
analogous
#A48E2F #80A42F #46A42F
triadic
#80A42F #2F80A4 #A42F80
tetradic
#80A42F #2FA48E #532FA4 #A42F46
square
#80A42F #2FA48E #532FA4 #A42F46
split-complementary
#80A42F #2F46A4 #8E2FA4
monochromatic
#364514 #5B7421 #80A42F #A1CA46 #BAD876

Accessibility & contrast

On white

2.89
#80A42F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#80A42F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #80A42F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##80A42F#FFFFFF#000000##000000
##80A42F1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD991B
Deuteranopia (green-blind)
#A89739
Tritanopia (blue-blind)
#869C8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #80a42f;
/* rgb */ color: rgb(128, 164, 47);
/* oklch */ color: oklch(66.9% 0.148 125.2);
Tailwind
colors: {
  custom: {
    50: '#a8bf6f',
    500: '#80a42f',
    950: '#000000',
  },
}
SCSS
$custom: #80a42f;
$custom-light: #a8bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#80a42f",
  "rgb": {
    "r": 128,
    "g": 164,
    "b": 47
  },
  "hsl": {
    "h": 78.462,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66926,
    "c": 0.14755,
    "h": 125.2
  },
  "luminance": 0.31345
}

Semantic roles & 50–950 ramp

primary
#80A42F
secondary
#886FC0
accent
#49DF77
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #80A42F

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

Preview Lab → · Contrast checker → · Palette generator →

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