#7FA04A#7FA04A

#7FA04A is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.2% C 0.120 H 126.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7FA04A
RGBrgb(127, 160, 74)
HSLhsl(83, 37%, 46%)
HSVhsv(83, 54%, 63%)
CMYKcmyk(20.6%, 0%, 53.7%, 37.3%)
CIE-LABlab(61.78, -25.69, 40.65)
CIE-LCHlch(61.78, 48.09, 122.29°)
OKLaboklab(66.17% -0.0721 0.0962)
OKLCHoklch(66.17% 0.12 126.8)
XYZxyz(22.5592, 30.1477, 11.1078)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA04A #6B4AA0
analogous
#A0964A #7FA04A #54A04A
triadic
#7FA04A #4A7FA0 #A04A7F
tetradic
#7FA04A #4AA096 #6B4AA0 #A04A54
square
#7FA04A #4AA096 #6B4AA0 #A04A54
split-complementary
#7FA04A #4A54A0 #964AA0
monochromatic
#3D4C23 #5E7637 #7FA04A #9DBB6C #B9CE96

Accessibility & contrast

On white

2.99
#7FA04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7FA04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA04A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA04A#FFFFFF#000000##000000
##7FA04A1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79742
Deuteranopia (green-blind)
#A3954F
Tritanopia (blue-blind)
#83998D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa04a;
/* rgb */ color: rgb(127, 160, 74);
/* oklch */ color: oklch(66.2% 0.120 126.8);
Tailwind
colors: {
  custom: {
    50: '#a6bc7f',
    500: '#7fa04a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa04a;
$custom-light: #a6bc7f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa04a",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 74
  },
  "hsl": {
    "h": 83.023,
    "s": 36.752,
    "l": 45.882
  },
  "oklch": {
    "l": 0.66167,
    "c": 0.12018,
    "h": 126.8
  },
  "luminance": 0.30148
}

Semantic roles & 50–950 ramp

primary
#7FA04A
secondary
#9D8BBB
accent
#5BCD87
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA04A

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

Preview Lab → · Contrast checker → · Palette generator →

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