#7FA52F#7FA52F

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

Color values

HEX#7FA52F
RGBrgb(127, 165, 47)
HSLhsl(79, 56%, 42%)
HSVhsv(79, 72%, 65%)
CMYKcmyk(23%, 0%, 71.5%, 35.3%)
CIE-LABlab(63.03, -30.35, 53.93)
CIE-LCHlch(63.03, 61.88, 119.37°)
OKLaboklab(67.1% -0.0874 0.121)
OKLCHoklch(67.1% 0.149 125.8)
XYZxyz(22.7207, 31.6272, 7.5964)
Luminance0.3163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA52F #552FA5
analogous
#A5902F #7FA52F #44A52F
triadic
#7FA52F #2F7FA5 #A52F7F
tetradic
#7FA52F #2FA590 #552FA5 #A52F44
square
#7FA52F #2FA590 #552FA5 #A52F44
split-complementary
#7FA52F #2F44A5 #902FA5
monochromatic
#364614 #5A7521 #7FA52F #A0CB47 #B9D876

Accessibility & contrast

On white

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

On black

7.33
#7FA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA52F
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA52F#FFFFFF#000000##000000
##7FA52F1.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1B
Deuteranopia (green-blind)
#A99839
Tritanopia (blue-blind)
#849D8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa52f;
/* rgb */ color: rgb(127, 165, 47);
/* oklch */ color: oklch(67.1% 0.149 125.8);
Tailwind
colors: {
  custom: {
    50: '#a7bf6f',
    500: '#7fa52f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa52f;
$custom-light: #a7bf6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa52f",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 79.322,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.671,
    "c": 0.1493,
    "h": 125.8
  },
  "luminance": 0.31628
}

Semantic roles & 50–950 ramp

primary
#7FA52F
secondary
#8A70C0
accent
#49DF79
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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