#7FA43C#7FA43C

#7FA43C is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 67.0% C 0.138 H 126.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7FA43C
RGBrgb(127, 164, 60)
HSLhsl(81, 46%, 44%)
HSVhsv(81, 63%, 64%)
CMYKcmyk(22.6%, 0%, 63.4%, 35.7%)
CIE-LABlab(62.83, -28.93, 48.39)
CIE-LCHlch(62.83, 56.38, 120.88°)
OKLaboklab(66.97% -0.0823 0.1112)
OKLCHoklch(66.97% 0.138 126.5)
XYZxyz(22.8435, 31.3888, 9.1292)
Luminance0.3139 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA43C #613CA4
analogous
#A4953C #7FA43C #4BA43C
triadic
#7FA43C #3C7FA4 #A43C7F
tetradic
#7FA43C #3CA495 #613CA4 #A43C4B
square
#7FA43C #3CA495 #613CA4 #A43C4B
split-complementary
#7FA43C #3C4BA4 #953CA4
monochromatic
#3A4A1B #5C772C #7FA43C #9EC35A #B8D387

Accessibility & contrast

On white

2.89
#7FA43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#7FA43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA43C
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA43C#FFFFFF#000000##000000
##7FA43C1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992F
Deuteranopia (green-blind)
#A79744
Tritanopia (blue-blind)
#849D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7fa43c;
/* rgb */ color: rgb(127, 164, 60);
/* oklch */ color: oklch(67.0% 0.138 126.5);
Tailwind
colors: {
  custom: {
    50: '#a7bf76',
    500: '#7fa43c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa43c;
$custom-light: #a7bf76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa43c",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 60
  },
  "hsl": {
    "h": 81.346,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66972,
    "c": 0.13839,
    "h": 126.5
  },
  "luminance": 0.31389
}

Semantic roles & 50–950 ramp

primary
#7FA43C
secondary
#957EBD
accent
#52D681
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA43C

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

Preview Lab → · Contrast checker → · Palette generator →

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