#7FB252#7FB252

#7FB252 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.6% C 0.138 H 132.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7FB252
RGBrgb(127, 178, 82)
HSLhsl(92, 38%, 51%)
HSVhsv(92, 54%, 70%)
CMYKcmyk(28.7%, 0%, 53.9%, 30.2%)
CIE-LABlab(67.25, -33.44, 43.23)
CIE-LCHlch(67.25, 54.65, 127.73°)
OKLaboklab(70.62% -0.0929 0.1025)
OKLCHoklch(70.62% 0.138 132.2)
XYZxyz(26.1954, 36.9612, 13.7351)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB252 #8552B2
analogous
#AFB252 #7FB252 #52B255
triadic
#7FB252 #527FB2 #B2527F
tetradic
#7FB252 #52AFB2 #8552B2 #B25552
square
#7FB252 #52AFB2 #8552B2 #B25552
split-complementary
#7FB252 #5552B2 #B252AF
monochromatic
#435F2A #618A3D #7FB252 #9EC57C #BED8A7

Accessibility & contrast

On white

2.50
#7FB252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#7FB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB252
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB252#FFFFFF#000000##000000
##7FB2521.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A649
Deuteranopia (green-blind)
#B1A258
Tritanopia (blue-blind)
#80AC9C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb252;
/* rgb */ color: rgb(127, 178, 82);
/* oklch */ color: oklch(70.6% 0.138 132.2);
Tailwind
colors: {
  custom: {
    50: '#a7c985',
    500: '#7fb252',
    950: '#000000',
  },
}
SCSS
$custom: #7fb252;
$custom-light: #a7c985;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb252",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 91.875,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70618,
    "c": 0.13833,
    "h": 132.2
  },
  "luminance": 0.36962
}

Semantic roles & 50–950 ramp

primary
#7FB252
secondary
#B19BC5
accent
#59CE98
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB252

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

Preview Lab → · Contrast checker → · Palette generator →

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