#7FA74E#7FA74E

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

Color values

HEX#7FA74E
RGBrgb(127, 167, 78)
HSLhsl(87, 36%, 48%)
HSVhsv(87, 53%, 65%)
CMYKcmyk(24%, 0%, 53.3%, 34.5%)
CIE-LABlab(63.92, -28.67, 41.22)
CIE-LCHlch(63.92, 50.21, 124.82°)
OKLaboklab(67.91% -0.08 0.0978)
OKLCHoklch(67.91% 0.126 129.3)
XYZxyz(23.9461, 32.6990, 12.2562)
Luminance0.3270 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA74E #764EA7
analogous
#A7A24E #7FA74E #52A74E
triadic
#7FA74E #4E7FA7 #A74E7F
tetradic
#7FA74E #4EA7A2 #764EA7 #A74E52
square
#7FA74E #4EA7A2 #764EA7 #A74E52
split-complementary
#7FA74E #4E52A7 #A24EA7
monochromatic
#405427 #5F7D3B #7FA74E #9DBE74 #BAD29E

Accessibility & contrast

On white

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

On black

7.54
#7FA74E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA74E
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA74E#FFFFFF#000000##000000
##7FA74E1.002.797.547.54
#FFFFFF2.791.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D46
Deuteranopia (green-blind)
#A89A54
Tritanopia (blue-blind)
#82A193
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7fa74e;
/* rgb */ color: rgb(127, 167, 78);
/* oklch */ color: oklch(67.9% 0.126 129.3);
Tailwind
colors: {
  custom: {
    50: '#a6c182',
    500: '#7fa74e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa74e;
$custom-light: #a6c182;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa74e",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 78
  },
  "hsl": {
    "h": 86.966,
    "s": 36.327,
    "l": 48.039
  },
  "oklch": {
    "l": 0.67906,
    "c": 0.12634,
    "h": 129.3
  },
  "luminance": 0.327
}

Semantic roles & 50–950 ramp

primary
#7FA74E
secondary
#A692BE
accent
#5BCC8E
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FA74E

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

Preview Lab → · Contrast checker → · Palette generator →

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