#7FA32F#7FA32F

#7FA32F is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.147 H 125.3°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7FA32F
RGBrgb(127, 163, 47)
HSLhsl(79, 55%, 41%)
HSVhsv(79, 71%, 64%)
CMYKcmyk(22.1%, 0%, 71.2%, 36.1%)
CIE-LABlab(62.43, -29.40, 53.33)
CIE-LCHlch(62.43, 60.89, 118.87°)
OKLaboklab(66.61% -0.0848 0.1198)
OKLCHoklch(66.61% 0.147 125.3)
XYZxyz(22.3628, 30.9114, 7.4771)
Luminance0.3091 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA32F #532FA3
analogous
#A38D2F #7FA32F #45A32F
triadic
#7FA32F #2F7FA3 #A32F7F
tetradic
#7FA32F #2FA38D #532FA3 #A32F45
square
#7FA32F #2FA38D #532FA3 #A32F45
split-complementary
#7FA32F #2F45A3 #8D2FA3
monochromatic
#354414 #5A7321 #7FA32F #A1CA46 #B9D775

Accessibility & contrast

On white

2.92
#7FA32F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7FA32F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA32F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA32F#FFFFFF#000000##000000
##7FA32F1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981C
Deuteranopia (green-blind)
#A79639
Tritanopia (blue-blind)
#859B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa32f;
/* rgb */ color: rgb(127, 163, 47);
/* oklch */ color: oklch(66.6% 0.147 125.3);
Tailwind
colors: {
  custom: {
    50: '#a7be6f',
    500: '#7fa32f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa32f;
$custom-light: #a7be6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa32f",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 47
  },
  "hsl": {
    "h": 78.621,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66614,
    "c": 0.14676,
    "h": 125.3
  },
  "luminance": 0.30912
}

Semantic roles & 50–950 ramp

primary
#7FA32F
secondary
#886FBF
accent
#49DF78
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA32F

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

Preview Lab → · Contrast checker → · Palette generator →

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