#7FA74A#7FA74A

#7FA74A is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.9% C 0.130 H 128.8°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7FA74A
RGBrgb(127, 167, 74)
HSLhsl(86, 39%, 47%)
HSVhsv(86, 56%, 65%)
CMYKcmyk(24%, 0%, 55.7%, 34.5%)
CIE-LABlab(63.87, -29.09, 43.10)
CIE-LCHlch(63.87, 52.00, 124.02°)
OKLaboklab(67.86% -0.0815 0.1015)
OKLCHoklch(67.86% 0.13 128.8)
XYZxyz(23.8070, 32.6434, 11.5238)
Luminance0.3264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA74A #724AA7
analogous
#A7A04A #7FA74A #51A74A
triadic
#7FA74A #4A7FA7 #A74A7F
tetradic
#7FA74A #4AA7A0 #724AA7 #A74A51
square
#7FA74A #4AA7A0 #724AA7 #A74A51
split-complementary
#7FA74A #4A51A7 #A04AA7
monochromatic
#3E5224 #5F7D37 #7FA74A #9DBF6F #BAD299

Accessibility & contrast

On white

2.79
#7FA74A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7FA74A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA74A
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA74A#FFFFFF#000000##000000
##7FA74A1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D41
Deuteranopia (green-blind)
#A99A50
Tritanopia (blue-blind)
#82A092
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa74a;
/* rgb */ color: rgb(127, 167, 74);
/* oklch */ color: oklch(67.9% 0.130 128.8);
Tailwind
colors: {
  custom: {
    50: '#a6c17f',
    500: '#7fa74a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa74a;
$custom-light: #a6c17f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa74a",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 74
  },
  "hsl": {
    "h": 85.806,
    "s": 38.589,
    "l": 47.255
  },
  "oklch": {
    "l": 0.67855,
    "c": 0.13018,
    "h": 128.8
  },
  "luminance": 0.32644
}

Semantic roles & 50–950 ramp

primary
#7FA74A
secondary
#A38EBE
accent
#59CF8C
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA74A

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

Preview Lab → · Contrast checker → · Palette generator →

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