#7FB840#7FB840

#7FB840 is a light, vivid yellow-green. Relative luminance 0.392; OKLCH L 71.9% C 0.162 H 131.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#7FB840
RGBrgb(127, 184, 64)
HSLhsl(89, 48%, 49%)
HSVhsv(89, 65%, 72%)
CMYKcmyk(31%, 0%, 65.2%, 27.8%)
CIE-LABlab(68.87, -37.87, 53.19)
CIE-LCHlch(68.87, 65.29, 125.45°)
OKLaboklab(71.88% -0.1066 0.1219)
OKLCHoklch(71.88% 0.162 131.2)
XYZxyz(26.8180, 39.1623, 10.9956)
Luminance0.3916 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB840 #7940B8
analogous
#B8B540 #7FB840 #43B840
triadic
#7FB840 #407FB8 #B8407F
tetradic
#7FB840 #40B8B5 #7940B8 #B84043
square
#7FB840 #40B8B5 #7940B8 #B84043
split-complementary
#7FB840 #4043B8 #B540B8
monochromatic
#405D20 #608B30 #7FB840 #9DCB6A #BBDB97

Accessibility & contrast

On white

2.38
#7FB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#7FB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB840
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB840#FFFFFF#000000##000000
##7FB8401.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB30
Deuteranopia (green-blind)
#B8A74A
Tritanopia (blue-blind)
#81B19F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fb840;
/* rgb */ color: rgb(127, 184, 64);
/* oklch */ color: oklch(71.9% 0.162 131.2);
Tailwind
colors: {
  custom: {
    50: '#a8cd7a',
    500: '#7fb840',
    950: '#000000',
  },
}
SCSS
$custom: #7fb840;
$custom-light: #a8cd7a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb840",
  "rgb": {
    "r": 127,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 88.5,
    "s": 48.387,
    "l": 48.627
  },
  "oklch": {
    "l": 0.71878,
    "c": 0.16191,
    "h": 131.2
  },
  "luminance": 0.39163
}

Semantic roles & 50–950 ramp

primary
#7FB840
secondary
#A88DC7
accent
#50D890
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB840

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

Preview Lab → · Contrast checker → · Palette generator →

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