#7FA82A#7FA82A

#7FA82A is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.156 H 126.3°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#7FA82A
RGBrgb(127, 168, 42)
HSLhsl(80, 60%, 41%)
HSVhsv(80, 75%, 66%)
CMYKcmyk(24.4%, 0%, 75%, 34.1%)
CIE-LABlab(63.90, -32.06, 56.60)
CIE-LCHlch(63.90, 65.05, 119.53°)
OKLaboklab(67.8% -0.0925 0.1259)
OKLCHoklch(67.8% 0.156 126.3)
XYZxyz(23.1731, 32.6841, 7.2778)
Luminance0.3268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA82A #532AA8
analogous
#A8922A #7FA82A #40A82A
triadic
#7FA82A #2A7FA8 #A82A7F
tetradic
#7FA82A #2AA892 #532AA8 #A82A40
square
#7FA82A #2AA892 #532AA8 #A82A40
split-complementary
#7FA82A #2A40A8 #922AA8
monochromatic
#354612 #5A771E #7FA82A #A1CF40 #B9DB71

Accessibility & contrast

On white

2.79
#7FA82A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#7FA82A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA82A
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA82A#FFFFFF#000000##000000
##7FA82A1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C0F
Deuteranopia (green-blind)
#AB9A36
Tritanopia (blue-blind)
#84A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa82a;
/* rgb */ color: rgb(127, 168, 42);
/* oklch */ color: oklch(67.8% 0.156 126.3);
Tailwind
colors: {
  custom: {
    50: '#a8c26d',
    500: '#7fa82a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa82a;
$custom-light: #a8c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa82a",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 79.524,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67796,
    "c": 0.15619,
    "h": 126.3
  },
  "luminance": 0.32684
}

Semantic roles & 50–950 ramp

primary
#7FA82A
secondary
#886BC3
accent
#45E378
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA82A

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

Preview Lab → · Contrast checker → · Palette generator →

#7FA82A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva