#7FA04C#7FA04C

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

Color values

HEX#7FA04C
RGBrgb(127, 160, 76)
HSLhsl(84, 36%, 46%)
HSVhsv(84, 53%, 63%)
CMYKcmyk(20.6%, 0%, 52.5%, 37.3%)
CIE-LABlab(61.80, -25.48, 39.69)
CIE-LCHlch(61.80, 47.17, 122.70°)
OKLaboklab(66.19% -0.0713 0.0943)
OKLCHoklch(66.19% 0.118 127.1)
XYZxyz(22.6276, 30.1751, 11.4683)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA04C #6D4CA0
analogous
#A0974C #7FA04C #55A04C
triadic
#7FA04C #4C7FA0 #A04C7F
tetradic
#7FA04C #4CA097 #6D4CA0 #A04C55
square
#7FA04C #4CA097 #6D4CA0 #A04C55
split-complementary
#7FA04C #4C55A0 #974CA0
monochromatic
#3D4D25 #5E7738 #7FA04C #9DBA6F #B9CE98

Accessibility & contrast

On white

2.99
#7FA04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA04C#FFFFFF#000000##000000
##7FA04C1.002.997.047.04
#FFFFFF2.991.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa04c;
/* rgb */ color: rgb(127, 160, 76);
/* oklch */ color: oklch(66.2% 0.118 127.1);
Tailwind
colors: {
  custom: {
    50: '#a6bc80',
    500: '#7fa04c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa04c;
$custom-light: #a6bc80;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa04c",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 76
  },
  "hsl": {
    "h": 83.571,
    "s": 35.593,
    "l": 46.275
  },
  "oklch": {
    "l": 0.66194,
    "c": 0.11819,
    "h": 127.1
  },
  "luminance": 0.30175
}

Semantic roles & 50–950 ramp

primary
#7FA04C
secondary
#9F8DBB
accent
#5CCC88
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7FA04C

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

Preview Lab → · Contrast checker → · Palette generator →

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