#7FA04F#7FA04F

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

Color values

HEX#7FA04F
RGBrgb(127, 160, 79)
HSLhsl(84, 34%, 47%)
HSVhsv(84, 51%, 63%)
CMYKcmyk(20.6%, 0%, 50.6%, 37.3%)
CIE-LABlab(61.84, -25.15, 38.24)
CIE-LCHlch(61.84, 45.77, 123.33°)
OKLaboklab(66.24% -0.0701 0.0913)
OKLCHoklch(66.24% 0.115 127.5)
XYZxyz(22.7344, 30.2178, 12.0305)
Luminance0.3022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA04F #704FA0
analogous
#A0994F #7FA04F #57A04F
triadic
#7FA04F #4F7FA0 #A04F7F
tetradic
#7FA04F #4FA099 #704FA0 #A04F57
square
#7FA04F #4FA099 #704FA0 #A04F57
split-complementary
#7FA04F #4F57A0 #994FA0
monochromatic
#3E4E27 #5E773B #7FA04F #9DBA73 #B9CE9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA04F#FFFFFF#000000##000000
##7FA04F1.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)
#A79748
Deuteranopia (green-blind)
#A29554
Tritanopia (blue-blind)
#839A8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa04f;
/* rgb */ color: rgb(127, 160, 79);
/* oklch */ color: oklch(66.2% 0.115 127.5);
Tailwind
colors: {
  custom: {
    50: '#a6bc82',
    500: '#7fa04f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa04f;
$custom-light: #a6bc82;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa04f",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 79
  },
  "hsl": {
    "h": 84.444,
    "s": 33.891,
    "l": 46.863
  },
  "oklch": {
    "l": 0.66235,
    "c": 0.11514,
    "h": 127.5
  },
  "luminance": 0.30218
}

Semantic roles & 50–950 ramp

primary
#7FA04F
secondary
#A190BB
accent
#5ECA8A
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA04F

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

Preview Lab → · Contrast checker → · Palette generator →

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