#7FA52C#7FA52C

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

Color values

HEX#7FA52C
RGBrgb(127, 165, 44)
HSLhsl(79, 58%, 41%)
HSVhsv(79, 73%, 65%)
CMYKcmyk(23%, 0%, 73.3%, 35.3%)
CIE-LABlab(63.01, -30.53, 55.02)
CIE-LCHlch(63.01, 62.93, 119.03°)
OKLaboklab(67.08% -0.0882 0.1229)
OKLCHoklch(67.08% 0.151 125.7)
XYZxyz(22.6623, 31.6038, 7.2886)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA52C #522CA5
analogous
#A58E2C #7FA52C #42A52C
triadic
#7FA52C #2C7FA5 #A52C7F
tetradic
#7FA52C #2CA58E #522CA5 #A52C42
square
#7FA52C #2CA58E #522CA5 #A52C42
split-complementary
#7FA52C #2C42A5 #8E2CA5
monochromatic
#354412 #5A751F #7FA52C #A1CD42 #B9D972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA52C#FFFFFF#000000##000000
##7FA52C1.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)
#AE9A15
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#859D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa52c;
/* rgb */ color: rgb(127, 165, 44);
/* oklch */ color: oklch(67.1% 0.151 125.7);
Tailwind
colors: {
  custom: {
    50: '#a8bf6e',
    500: '#7fa52c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa52c;
$custom-light: #a8bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa52c",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 44
  },
  "hsl": {
    "h": 78.843,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67078,
    "c": 0.15122,
    "h": 125.7
  },
  "luminance": 0.31604
}

Semantic roles & 50–950 ramp

primary
#7FA52C
secondary
#876CC1
accent
#47E177
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA52C

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

Preview Lab → · Contrast checker → · Palette generator →

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