#7FA92A#7FA92A

#7FA92A is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.0% C 0.157 H 126.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7FA92A
RGBrgb(127, 169, 42)
HSLhsl(80, 60%, 41%)
HSVhsv(80, 75%, 66%)
CMYKcmyk(24.9%, 0%, 75.1%, 33.7%)
CIE-LABlab(64.21, -32.52, 56.89)
CIE-LCHlch(64.21, 65.53, 119.76°)
OKLaboklab(68.04% -0.0938 0.1265)
OKLCHoklch(68.04% 0.157 126.6)
XYZxyz(23.3584, 33.0547, 7.3396)
Luminance0.3306 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA92A #542AA9
analogous
#A9942A #7FA92A #3FA92A
triadic
#7FA92A #2A7FA9 #A92A7F
tetradic
#7FA92A #2AA994 #542AA9 #A92A3F
square
#7FA92A #2AA994 #542AA9 #A92A3F
split-complementary
#7FA92A #2A3FA9 #942AA9
monochromatic
#354712 #5A781E #7FA92A #A0D041 #B9DC72

Accessibility & contrast

On white

2.76
#7FA92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7FA92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA92A
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA92A#FFFFFF#000000##000000
##7FA92A1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D0E
Deuteranopia (green-blind)
#AC9B36
Tritanopia (blue-blind)
#84A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa92a;
/* rgb */ color: rgb(127, 169, 42);
/* oklch */ color: oklch(68.0% 0.157 126.6);
Tailwind
colors: {
  custom: {
    50: '#a8c26d',
    500: '#7fa92a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa92a;
$custom-light: #a8c26d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa92a",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 42
  },
  "hsl": {
    "h": 79.843,
    "s": 60.19,
    "l": 41.373
  },
  "oklch": {
    "l": 0.6804,
    "c": 0.15742,
    "h": 126.6
  },
  "luminance": 0.33055
}

Semantic roles & 50–950 ramp

primary
#7FA92A
secondary
#896CC3
accent
#44E379
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA92A

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

Preview Lab → · Contrast checker → · Palette generator →

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