#7FA73A#7FA73A

#7FA73A is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.7% C 0.144 H 127.1°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7FA73A
RGBrgb(127, 167, 58)
HSLhsl(82, 48%, 44%)
HSVhsv(82, 65%, 65%)
CMYKcmyk(24%, 0%, 65.3%, 34.5%)
CIE-LABlab(63.72, -30.52, 50.20)
CIE-LCHlch(63.72, 58.75, 121.30°)
OKLaboklab(67.68% -0.0869 0.1148)
OKLCHoklch(67.68% 0.144 127.1)
XYZxyz(23.3348, 32.4545, 9.0371)
Luminance0.3246 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA73A #623AA7
analogous
#A7993A #7FA73A #49A73A
triadic
#7FA73A #3A7FA7 #A73A7F
tetradic
#7FA73A #3AA799 #623AA7 #A73A49
square
#7FA73A #3AA799 #623AA7 #A73A49
split-complementary
#7FA73A #3A49A7 #993AA7
monochromatic
#3A4C1A #5C7A2A #7FA73A #9EC559 #B8D586

Accessibility & contrast

On white

2.80
#7FA73A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#7FA73A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA73A
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA73A#FFFFFF#000000##000000
##7FA73A1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2C
Deuteranopia (green-blind)
#AA9A42
Tritanopia (blue-blind)
#84A091
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa73a;
/* rgb */ color: rgb(127, 167, 58);
/* oklch */ color: oklch(67.7% 0.144 127.1);
Tailwind
colors: {
  custom: {
    50: '#a7c175',
    500: '#7fa73a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa73a;
$custom-light: #a7c175;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa73a",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 82.018,
    "s": 48.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.6768,
    "c": 0.14399,
    "h": 127.1
  },
  "luminance": 0.32455
}

Semantic roles & 50–950 ramp

primary
#7FA73A
secondary
#967EBF
accent
#50D882
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA73A

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

Preview Lab → · Contrast checker → · Palette generator →

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