#7FA74C#7FA74C

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

Color values

HEX#7FA74C
RGBrgb(127, 167, 76)
HSLhsl(86, 37%, 48%)
HSVhsv(86, 54%, 65%)
CMYKcmyk(24%, 0%, 54.5%, 34.5%)
CIE-LABlab(63.89, -28.89, 42.17)
CIE-LCHlch(63.89, 51.11, 124.41°)
OKLaboklab(67.88% -0.0808 0.0996)
OKLCHoklch(67.88% 0.128 129)
XYZxyz(23.8754, 32.6708, 11.8843)
Luminance0.3267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA74C #744CA7
analogous
#A7A24C #7FA74C #51A74C
triadic
#7FA74C #4C7FA7 #A74C7F
tetradic
#7FA74C #4CA7A2 #744CA7 #A74C51
square
#7FA74C #4CA7A2 #744CA7 #A74C51
split-complementary
#7FA74C #4C51A7 #A24CA7
monochromatic
#3F5326 #5F7D39 #7FA74C #9DBF72 #BAD29C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA74C#FFFFFF#000000##000000
##7FA74C1.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)
#AE9D43
Deuteranopia (green-blind)
#A89A52
Tritanopia (blue-blind)
#82A093
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa74c;
/* rgb */ color: rgb(127, 167, 76);
/* oklch */ color: oklch(67.9% 0.128 129.0);
Tailwind
colors: {
  custom: {
    50: '#a6c181',
    500: '#7fa74c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa74c;
$custom-light: #a6c181;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa74c",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 76
  },
  "hsl": {
    "h": 86.374,
    "s": 37.449,
    "l": 47.647
  },
  "oklch": {
    "l": 0.6788,
    "c": 0.12828,
    "h": 129
  },
  "luminance": 0.32671
}

Semantic roles & 50–950 ramp

primary
#7FA74C
secondary
#A590BE
accent
#5ACD8D
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA74C

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

Preview Lab → · Contrast checker → · Palette generator →

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