#7FB451#7FB451

#7FB451 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.1% C 0.142 H 132.4°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7FB451
RGBrgb(127, 180, 81)
HSLhsl(92, 40%, 51%)
HSVhsv(92, 55%, 71%)
CMYKcmyk(29.4%, 0%, 55%, 29.4%)
CIE-LABlab(67.83, -34.47, 44.40)
CIE-LCHlch(67.83, 56.21, 127.83°)
OKLaboklab(71.09% -0.0958 0.1049)
OKLCHoklch(71.09% 0.142 132.4)
XYZxyz(26.5584, 37.7478, 13.6697)
Luminance0.3775 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB451 #8651B4
analogous
#B0B451 #7FB451 #51B454
triadic
#7FB451 #517FB4 #B4517F
tetradic
#7FB451 #51B0B4 #8651B4 #B45451
square
#7FB451 #51B0B4 #8651B4 #B45451
split-complementary
#7FB451 #5451B4 #B451B0
monochromatic
#43612A #618C3C #7FB451 #9EC67C #BED9A7

Accessibility & contrast

On white

2.46
#7FB451 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#7FB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB451
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB451#FFFFFF#000000##000000
##7FB4511.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA847
Deuteranopia (green-blind)
#B3A458
Tritanopia (blue-blind)
#80AD9E
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7fb451;
/* rgb */ color: rgb(127, 180, 81);
/* oklch */ color: oklch(71.1% 0.142 132.4);
Tailwind
colors: {
  custom: {
    50: '#a7ca85',
    500: '#7fb451',
    950: '#000000',
  },
}
SCSS
$custom: #7fb451;
$custom-light: #a7ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb451",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 92.121,
    "s": 39.759,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7109,
    "c": 0.14211,
    "h": 132.4
  },
  "luminance": 0.37749
}

Semantic roles & 50–950 ramp

primary
#7FB451
secondary
#B29BC6
accent
#58D098
background
#FAFCF8
surface
#F4F8EF
border
#CED1CA
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7FB451

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

Preview Lab → · Contrast checker → · Palette generator →

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