#7FB351#7FB351

#7FB351 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.8% C 0.141 H 132.2°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7FB351
RGBrgb(127, 179, 81)
HSLhsl(92, 39%, 51%)
HSVhsv(92, 55%, 70%)
CMYKcmyk(29.1%, 0%, 54.7%, 29.8%)
CIE-LABlab(67.54, -34.01, 44.05)
CIE-LCHlch(67.54, 55.65, 127.68°)
OKLaboklab(70.85% -0.0946 0.1042)
OKLCHoklch(70.85% 0.141 132.2)
XYZxyz(26.3573, 37.3455, 13.6027)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB351 #8551B3
analogous
#B0B351 #7FB351 #51B354
triadic
#7FB351 #517FB3 #B3517F
tetradic
#7FB351 #51B0B3 #8551B3 #B35451
square
#7FB351 #51B0B3 #8551B3 #B35451
split-complementary
#7FB351 #5451B3 #B351B0
monochromatic
#43602A #618A3C #7FB351 #9EC67C #BED8A6

Accessibility & contrast

On white

2.48
#7FB351 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#7FB351 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB351
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB351#FFFFFF#000000##000000
##7FB3511.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA748
Deuteranopia (green-blind)
#B2A358
Tritanopia (blue-blind)
#80AC9D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb351;
/* rgb */ color: rgb(127, 179, 81);
/* oklch */ color: oklch(70.8% 0.141 132.2);
Tailwind
colors: {
  custom: {
    50: '#a7ca85',
    500: '#7fb351',
    950: '#000000',
  },
}
SCSS
$custom: #7fb351;
$custom-light: #a7ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb351",
  "rgb": {
    "r": 127,
    "g": 179,
    "b": 81
  },
  "hsl": {
    "h": 91.837,
    "s": 39.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.70848,
    "c": 0.14069,
    "h": 132.2
  },
  "luminance": 0.37346
}

Semantic roles & 50–950 ramp

primary
#7FB351
secondary
#B19AC6
accent
#59CF98
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB351

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

Preview Lab → · Contrast checker → · Palette generator →

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