#7FB951#7FB951

#7FB951 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.3% C 0.149 H 133.2°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#7FB951
RGBrgb(127, 185, 81)
HSLhsl(93, 43%, 52%)
HSVhsv(93, 56%, 73%)
CMYKcmyk(31.4%, 0%, 56.2%, 27.5%)
CIE-LABlab(69.33, -36.75, 46.14)
CIE-LCHlch(69.33, 58.99, 128.54°)
OKLaboklab(72.3% -0.1021 0.1087)
OKLCHoklch(72.3% 0.149 133.2)
XYZxyz(27.5861, 39.8031, 14.0123)
Luminance0.3980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB951 #8B51B9
analogous
#B3B951 #7FB951 #51B957
triadic
#7FB951 #517FB9 #B9517F
tetradic
#7FB951 #51B3B9 #8B51B9 #B95751
square
#7FB951 #51B3B9 #8B51B9 #B95751
split-complementary
#7FB951 #5751B9 #B951B3
monochromatic
#446629 #61923B #7FB951 #9FCB7D #BFDCA8

Accessibility & contrast

On white

2.34
#7FB951 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#7FB951 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB951
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB951#FFFFFF#000000##000000
##7FB9511.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC47
Deuteranopia (green-blind)
#B8A858
Tritanopia (blue-blind)
#80B2A2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb951;
/* rgb */ color: rgb(127, 185, 81);
/* oklch */ color: oklch(72.3% 0.149 133.2);
Tailwind
colors: {
  custom: {
    50: '#a7ce85',
    500: '#7fb951',
    950: '#000000',
  },
}
SCSS
$custom: #7fb951;
$custom-light: #a7ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb951",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 81
  },
  "hsl": {
    "h": 93.462,
    "s": 42.623,
    "l": 52.157
  },
  "oklch": {
    "l": 0.72304,
    "c": 0.14916,
    "h": 133.2
  },
  "luminance": 0.39804
}

Semantic roles & 50–950 ramp

primary
#7FB951
secondary
#B69CCA
accent
#55D29B
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB951

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

Preview Lab → · Contrast checker → · Palette generator →

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