#7FA73F#7FA73F

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

Color values

HEX#7FA73F
RGBrgb(127, 167, 63)
HSLhsl(83, 45%, 45%)
HSVhsv(83, 62%, 65%)
CMYKcmyk(24%, 0%, 62.3%, 34.5%)
CIE-LABlab(63.76, -30.12, 48.07)
CIE-LCHlch(63.76, 56.73, 122.07°)
OKLaboklab(67.73% -0.0853 0.1109)
OKLCHoklch(67.73% 0.14 127.6)
XYZxyz(23.4683, 32.5079, 9.7399)
Luminance0.3251 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA73F #673FA7
analogous
#A79B3F #7FA73F #4BA73F
triadic
#7FA73F #3F7FA7 #A73F7F
tetradic
#7FA73F #3FA79B #673FA7 #A73F4B
square
#7FA73F #3FA79B #673FA7 #A73F4B
split-complementary
#7FA73F #3F4BA7 #9B3FA7
monochromatic
#3B4E1D #5D7B2E #7FA73F #9DC360 #B8D48D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA73F#FFFFFF#000000##000000
##7FA73F1.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)
#AF9C33
Deuteranopia (green-blind)
#A99A47
Tritanopia (blue-blind)
#83A091
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa73f;
/* rgb */ color: rgb(127, 167, 63);
/* oklch */ color: oklch(67.7% 0.140 127.6);
Tailwind
colors: {
  custom: {
    50: '#a7c178',
    500: '#7fa73f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa73f;
$custom-light: #a7c178;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa73f",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 63
  },
  "hsl": {
    "h": 83.077,
    "s": 45.217,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6773,
    "c": 0.13996,
    "h": 127.6
  },
  "luminance": 0.32508
}

Semantic roles & 50–950 ramp

primary
#7FA73F
secondary
#9A83BF
accent
#53D585
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA73F

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

Preview Lab → · Contrast checker → · Palette generator →

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