#7FB159#7FB159

#7FB159 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.5% C 0.130 H 133.2°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#7FB159
RGBrgb(127, 177, 89)
HSLhsl(94, 36%, 52%)
HSVhsv(94, 50%, 69%)
CMYKcmyk(28.2%, 0%, 49.7%, 30.6%)
CIE-LABlab(67.03, -32.18, 39.54)
CIE-LCHlch(67.03, 50.98, 129.14°)
OKLaboklab(70.47% -0.0889 0.0949)
OKLCHoklch(70.47% 0.13 133.2)
XYZxyz(26.2772, 36.6768, 15.1441)
Luminance0.3668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB159 #8B59B1
analogous
#ABB159 #7FB159 #59B15F
triadic
#7FB159 #597FB1 #B1597F
tetradic
#7FB159 #59ABB1 #8B59B1 #B15F59
square
#7FB159 #59ABB1 #8B59B1 #B15F59
split-complementary
#7FB159 #5F59B1 #B159AB
monochromatic
#44622E #618B41 #7FB159 #9FC583 #BFD8AC

Accessibility & contrast

On white

2.52
#7FB159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#7FB159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB159
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB159#FFFFFF#000000##000000
##7FB1591.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A651
Deuteranopia (green-blind)
#B0A25E
Tritanopia (blue-blind)
#80AB9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb159;
/* rgb */ color: rgb(127, 177, 89);
/* oklch */ color: oklch(70.5% 0.130 133.2);
Tailwind
colors: {
  custom: {
    50: '#a6c88a',
    500: '#7fb159',
    950: '#000000',
  },
}
SCSS
$custom: #7fb159;
$custom-light: #a6c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb159",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 94.091,
    "s": 36.066,
    "l": 52.157
  },
  "oklch": {
    "l": 0.70472,
    "c": 0.13006,
    "h": 133.2
  },
  "luminance": 0.36678
}

Semantic roles & 50–950 ramp

primary
#7FB159
secondary
#B6A0C6
accent
#5CCC9C
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130C
muted
#7F827D

Preview Lab

Preview with #7FB159

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

Preview Lab → · Contrast checker → · Palette generator →

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