#7FA32A#7FA32A

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

Color values

HEX#7FA32A
RGBrgb(127, 163, 42)
HSLhsl(78, 59%, 40%)
HSVhsv(78, 74%, 64%)
CMYKcmyk(22.1%, 0%, 74.2%, 36.1%)
CIE-LABlab(62.40, -29.70, 55.14)
CIE-LCHlch(62.40, 62.63, 118.30°)
OKLaboklab(66.58% -0.086 0.1228)
OKLCHoklch(66.58% 0.15 125)
XYZxyz(22.2677, 30.8733, 6.9760)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA32A #4E2AA3
analogous
#A38A2A #7FA32A #43A32A
triadic
#7FA32A #2A7FA3 #A32A7F
tetradic
#7FA32A #2AA38A #4E2AA3 #A32A43
square
#7FA32A #2AA38A #4E2AA3 #A32A43
split-complementary
#7FA32A #2A43A3 #8A2AA3
monochromatic
#334211 #59721D #7FA32A #A2CD3D #BADA6E

Accessibility & contrast

On white

2.93
#7FA32A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7FA32A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA32A
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA32A#FFFFFF#000000##000000
##7FA32A1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa32a;
/* rgb */ color: rgb(127, 163, 42);
/* oklch */ color: oklch(66.6% 0.150 125.0);
Tailwind
colors: {
  custom: {
    50: '#a8be6c',
    500: '#7fa32a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa32a;
$custom-light: #a8be6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa32a",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 42
  },
  "hsl": {
    "h": 77.851,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.66578,
    "c": 0.14994,
    "h": 125
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#7FA32A
secondary
#8368C0
accent
#46E274
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA32A

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

Preview Lab → · Contrast checker → · Palette generator →

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