#7FB751#7FB751

#7FB751 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 71.8% C 0.146 H 132.9°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#7FB751
RGBrgb(127, 183, 81)
HSLhsl(93, 41%, 52%)
HSVhsv(93, 56%, 72%)
CMYKcmyk(30.6%, 0%, 55.7%, 28.2%)
CIE-LABlab(68.73, -35.85, 45.45)
CIE-LCHlch(68.73, 57.88, 128.26°)
OKLaboklab(71.82% -0.0996 0.1072)
OKLCHoklch(71.82% 0.146 132.9)
XYZxyz(27.1706, 38.9722, 13.8738)
Luminance0.3897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB751 #8951B7
analogous
#B2B751 #7FB751 #51B756
triadic
#7FB751 #517FB7 #B7517F
tetradic
#7FB751 #51B2B7 #8951B7 #B75651
square
#7FB751 #51B2B7 #8951B7 #B75651
split-complementary
#7FB751 #5651B7 #B751B2
monochromatic
#446429 #618F3B #7FB751 #9FC97C #BFDBA8

Accessibility & contrast

On white

2.39
#7FB751 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#7FB751 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB751
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB751#FFFFFF#000000##000000
##7FB7511.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB47
Deuteranopia (green-blind)
#B6A658
Tritanopia (blue-blind)
#80B0A0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fb751;
/* rgb */ color: rgb(127, 183, 81);
/* oklch */ color: oklch(71.8% 0.146 132.9);
Tailwind
colors: {
  custom: {
    50: '#a7cd85',
    500: '#7fb751',
    950: '#000000',
  },
}
SCSS
$custom: #7fb751;
$custom-light: #a7cd85;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb751",
  "rgb": {
    "r": 127,
    "g": 183,
    "b": 81
  },
  "hsl": {
    "h": 92.941,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.71818,
    "c": 0.14636,
    "h": 132.9
  },
  "luminance": 0.38973
}

Semantic roles & 50–950 ramp

primary
#7FB751
secondary
#B49CC8
accent
#57D19A
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB751

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

Preview Lab → · Contrast checker → · Palette generator →

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