#7FB232#7FB232

#7FB232 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.164 H 129.0°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7FB232
RGBrgb(127, 178, 50)
HSLhsl(84, 56%, 45%)
HSVhsv(84, 72%, 70%)
CMYKcmyk(28.7%, 0%, 71.9%, 30.2%)
CIE-LABlab(66.96, -36.18, 56.74)
CIE-LCHlch(66.96, 67.29, 122.52°)
OKLaboklab(70.3% -0.1031 0.1274)
OKLCHoklch(70.3% 0.164 129)
XYZxyz(25.2484, 36.5824, 8.7479)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB232 #6532B2
analogous
#B2A532 #7FB232 #3FB232
triadic
#7FB232 #327FB2 #B2327F
tetradic
#7FB232 #32B2A5 #6532B2 #B2323F
square
#7FB232 #32B2A5 #6532B2 #B2323F
split-complementary
#7FB232 #323FB2 #A532B2
monochromatic
#3B5217 #5D8225 #7FB232 #9DCF53 #B8DC82

Accessibility & contrast

On white

2.53
#7FB232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#7FB232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB232
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB232#FFFFFF#000000##000000
##7FB2321.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51C
Deuteranopia (green-blind)
#B4A23E
Tritanopia (blue-blind)
#83AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb232;
/* rgb */ color: rgb(127, 178, 50);
/* oklch */ color: oklch(70.3% 0.164 129.0);
Tailwind
colors: {
  custom: {
    50: '#a8c972',
    500: '#7fb232',
    950: '#000000',
  },
}
SCSS
$custom: #7fb232;
$custom-light: #a8c972;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb232",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 83.906,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.70295,
    "c": 0.16389,
    "h": 129
  },
  "luminance": 0.36583
}

Semantic roles & 50–950 ramp

primary
#7FB232
secondary
#987BC5
accent
#48DF85
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB232

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

Preview Lab → · Contrast checker → · Palette generator →

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