#7FA04B#7FA04B

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

Color values

HEX#7FA04B
RGBrgb(127, 160, 75)
HSLhsl(83, 36%, 46%)
HSVhsv(83, 53%, 63%)
CMYKcmyk(20.6%, 0%, 53.1%, 37.3%)
CIE-LABlab(61.79, -25.59, 40.18)
CIE-LCHlch(61.79, 47.63, 122.49°)
OKLaboklab(66.18% -0.0717 0.0952)
OKLCHoklch(66.18% 0.119 127)
XYZxyz(22.5931, 30.1613, 11.2867)
Luminance0.3016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA04B #6C4BA0
analogous
#A0964B #7FA04B #54A04B
triadic
#7FA04B #4B7FA0 #A04B7F
tetradic
#7FA04B #4BA096 #6C4BA0 #A04B54
square
#7FA04B #4BA096 #6C4BA0 #A04B54
split-complementary
#7FA04B #4B54A0 #964BA0
monochromatic
#3D4D24 #5E7637 #7FA04B #9DBB6D #B9CE97

Accessibility & contrast

On white

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

On black

7.03
#7FA04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA04B
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA04B#FFFFFF#000000##000000
##7FA04B1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa04b;
/* rgb */ color: rgb(127, 160, 75);
/* oklch */ color: oklch(66.2% 0.119 127.0);
Tailwind
colors: {
  custom: {
    50: '#a6bc80',
    500: '#7fa04b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa04b;
$custom-light: #a6bc80;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa04b",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 75
  },
  "hsl": {
    "h": 83.294,
    "s": 36.17,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6618,
    "c": 0.11919,
    "h": 127
  },
  "luminance": 0.30162
}

Semantic roles & 50–950 ramp

primary
#7FA04B
secondary
#9E8CBB
accent
#5CCC87
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7FA04B

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

Preview Lab → · Contrast checker → · Palette generator →

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