#7FB251#7FB251

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

Color values

HEX#7FB251
RGBrgb(127, 178, 81)
HSLhsl(92, 39%, 51%)
HSVhsv(92, 54%, 70%)
CMYKcmyk(28.7%, 0%, 54.5%, 30.2%)
CIE-LABlab(67.24, -33.55, 43.69)
CIE-LCHlch(67.24, 55.09, 127.52°)
OKLaboklab(70.61% -0.0933 0.1034)
OKLCHoklch(70.61% 0.139 132.1)
XYZxyz(26.1576, 36.9461, 13.5361)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB251 #8451B2
analogous
#AFB251 #7FB251 #51B253
triadic
#7FB251 #517FB2 #B2517F
tetradic
#7FB251 #51AFB2 #8451B2 #B25351
square
#7FB251 #51AFB2 #8451B2 #B25351
split-complementary
#7FB251 #5351B2 #B251AF
monochromatic
#435F2A #61893D #7FB251 #9EC57B #BDD8A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FB251#FFFFFF#000000##000000
##7FB2511.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)
#B9A648
Deuteranopia (green-blind)
#B1A257
Tritanopia (blue-blind)
#80AC9C
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb251;
/* rgb */ color: rgb(127, 178, 81);
/* oklch */ color: oklch(70.6% 0.139 132.1);
Tailwind
colors: {
  custom: {
    50: '#a7c984',
    500: '#7fb251',
    950: '#000000',
  },
}
SCSS
$custom: #7fb251;
$custom-light: #a7c984;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb251",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 91.546,
    "s": 38.645,
    "l": 50.784
  },
  "oklch": {
    "l": 0.70606,
    "c": 0.13926,
    "h": 132.1
  },
  "luminance": 0.36947
}

Semantic roles & 50–950 ramp

primary
#7FB251
secondary
#B19AC5
accent
#59CF97
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB251

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

Preview Lab → · Contrast checker → · Palette generator →

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