#7FA52E#7FA52E

#7FA52E is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.1% C 0.150 H 125.8°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7FA52E
RGBrgb(127, 165, 46)
HSLhsl(79, 56%, 41%)
HSVhsv(79, 72%, 65%)
CMYKcmyk(23%, 0%, 72.1%, 35.3%)
CIE-LABlab(63.03, -30.41, 54.30)
CIE-LCHlch(63.03, 62.24, 119.25°)
OKLaboklab(67.09% -0.0877 0.1217)
OKLCHoklch(67.09% 0.15 125.8)
XYZxyz(22.7008, 31.6192, 7.4914)
Luminance0.3162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA52E #542EA5
analogous
#A5902E #7FA52E #44A52E
triadic
#7FA52E #2E7FA5 #A52E7F
tetradic
#7FA52E #2EA590 #542EA5 #A52E44
square
#7FA52E #2EA590 #542EA5 #A52E44
split-complementary
#7FA52E #2E44A5 #902EA5
monochromatic
#354513 #5A7521 #7FA52E #A0CB45 #B9D875

Accessibility & contrast

On white

2.87
#7FA52E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#7FA52E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA52E
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA52E#FFFFFF#000000##000000
##7FA52E1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A19
Deuteranopia (green-blind)
#A99838
Tritanopia (blue-blind)
#859D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa52e;
/* rgb */ color: rgb(127, 165, 46);
/* oklch */ color: oklch(67.1% 0.150 125.8);
Tailwind
colors: {
  custom: {
    50: '#a8bf6f',
    500: '#7fa52e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa52e;
$custom-light: #a8bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa52e",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 46
  },
  "hsl": {
    "h": 79.16,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67093,
    "c": 0.14996,
    "h": 125.8
  },
  "luminance": 0.3162
}

Semantic roles & 50–950 ramp

primary
#7FA52E
secondary
#896FC0
accent
#48E079
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA52E

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

Preview Lab → · Contrast checker → · Palette generator →

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