#7FA73E#7FA73E

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

Color values

HEX#7FA73E
RGBrgb(127, 167, 62)
HSLhsl(83, 46%, 45%)
HSVhsv(83, 63%, 65%)
CMYKcmyk(24%, 0%, 62.9%, 34.5%)
CIE-LABlab(63.75, -30.20, 48.51)
CIE-LCHlch(63.75, 57.14, 121.91°)
OKLaboklab(67.72% -0.0857 0.1117)
OKLCHoklch(67.72% 0.141 127.5)
XYZxyz(23.4406, 32.4968, 9.5940)
Luminance0.3250 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA73E #663EA7
analogous
#A79B3E #7FA73E #4AA73E
triadic
#7FA73E #3E7FA7 #A73E7F
tetradic
#7FA73E #3EA79B #663EA7 #A73E4A
square
#7FA73E #3EA79B #663EA7 #A73E4A
split-complementary
#7FA73E #3E4AA7 #9B3EA7
monochromatic
#3B4E1D #5D7A2D #7FA73E #9DC35F #B8D48B

Accessibility & contrast

On white

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

On black

7.50
#7FA73E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA73E
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA73E#FFFFFF#000000##000000
##7FA73E1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C31
Deuteranopia (green-blind)
#AA9A46
Tritanopia (blue-blind)
#83A091
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa73e;
/* rgb */ color: rgb(127, 167, 62);
/* oklch */ color: oklch(67.7% 0.141 127.5);
Tailwind
colors: {
  custom: {
    50: '#a7c178',
    500: '#7fa73e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa73e;
$custom-light: #a7c178;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa73e",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 62
  },
  "hsl": {
    "h": 82.857,
    "s": 45.852,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67719,
    "c": 0.14079,
    "h": 127.5
  },
  "luminance": 0.32497
}

Semantic roles & 50–950 ramp

primary
#7FA73E
secondary
#9982BF
accent
#52D684
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA73E

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

Preview Lab → · Contrast checker → · Palette generator →

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