#7FA232#7FA232

#7FA232 is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.4% C 0.143 H 125.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7FA232
RGBrgb(127, 162, 50)
HSLhsl(79, 53%, 42%)
HSVhsv(79, 69%, 64%)
CMYKcmyk(21.6%, 0%, 69.1%, 36.5%)
CIE-LABlab(62.15, -28.72, 51.87)
CIE-LCHlch(62.15, 59.29, 118.98°)
OKLaboklab(66.4% -0.0827 0.1172)
OKLCHoklch(66.4% 0.143 125.2)
XYZxyz(22.2486, 30.5827, 7.7479)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA232 #5532A2
analogous
#A28D32 #7FA232 #47A232
triadic
#7FA232 #327FA2 #A2327F
tetradic
#7FA232 #32A28D #5532A2 #A23247
square
#7FA232 #32A28D #5532A2 #A23247
split-complementary
#7FA232 #3247A2 #8D32A2
monochromatic
#364415 #5A7324 #7FA232 #A0C74A #B9D679

Accessibility & contrast

On white

2.95
#7FA232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7FA232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA232
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA232#FFFFFF#000000##000000
##7FA2321.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9721
Deuteranopia (green-blind)
#A6963B
Tritanopia (blue-blind)
#859A8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa232;
/* rgb */ color: rgb(127, 162, 50);
/* oklch */ color: oklch(66.4% 0.143 125.2);
Tailwind
colors: {
  custom: {
    50: '#a7bd70',
    500: '#7fa232',
    950: '#000000',
  },
}
SCSS
$custom: #7fa232;
$custom-light: #a7bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa232",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 50
  },
  "hsl": {
    "h": 78.75,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66395,
    "c": 0.14341,
    "h": 125.2
  },
  "luminance": 0.30583
}

Semantic roles & 50–950 ramp

primary
#7FA232
secondary
#8A72BE
accent
#4CDC79
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA232

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

Preview Lab → · Contrast checker → · Palette generator →

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