#7FA04E#7FA04E

#7FA04E is a light, moderate yellow-green. Relative luminance 0.302; OKLCH L 66.2% C 0.116 H 127.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7FA04E
RGBrgb(127, 160, 78)
HSLhsl(84, 34%, 47%)
HSVhsv(84, 51%, 63%)
CMYKcmyk(20.6%, 0%, 51.2%, 37.3%)
CIE-LABlab(61.83, -25.26, 38.73)
CIE-LCHlch(61.83, 46.24, 123.12°)
OKLaboklab(66.22% -0.0705 0.0923)
OKLCHoklch(66.22% 0.116 127.4)
XYZxyz(22.6982, 30.2034, 11.8402)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA04E #6F4EA0
analogous
#A0984E #7FA04E #56A04E
triadic
#7FA04E #4E7FA0 #A04E7F
tetradic
#7FA04E #4EA098 #6F4EA0 #A04E56
square
#7FA04E #4EA098 #6F4EA0 #A04E56
split-complementary
#7FA04E #4E56A0 #984EA0
monochromatic
#3E4E26 #5E773A #7FA04E #9DBA71 #B9CE9A

Accessibility & contrast

On white

2.98
#7FA04E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7FA04E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA04E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA04E#FFFFFF#000000##000000
##7FA04E1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79747
Deuteranopia (green-blind)
#A29553
Tritanopia (blue-blind)
#839A8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa04e;
/* rgb */ color: rgb(127, 160, 78);
/* oklch */ color: oklch(66.2% 0.116 127.4);
Tailwind
colors: {
  custom: {
    50: '#a6bc82',
    500: '#7fa04e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa04e;
$custom-light: #a6bc82;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa04e",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 78
  },
  "hsl": {
    "h": 84.146,
    "s": 34.454,
    "l": 46.667
  },
  "oklch": {
    "l": 0.66221,
    "c": 0.11616,
    "h": 127.4
  },
  "luminance": 0.30204
}

Semantic roles & 50–950 ramp

primary
#7FA04E
secondary
#A18FBB
accent
#5DCB89
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7FA04E

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

Preview Lab → · Contrast checker → · Palette generator →

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