#7FB241#7FB241

#7FB241 is a light, vivid yellow-green. Relative luminance 0.367; OKLCH L 70.4% C 0.153 H 130.2°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#7FB241
RGBrgb(127, 178, 65)
HSLhsl(87, 47%, 48%)
HSVhsv(87, 63%, 70%)
CMYKcmyk(28.7%, 0%, 63.5%, 30.2%)
CIE-LABlab(67.08, -35.08, 50.83)
CIE-LCHlch(67.08, 61.76, 124.61°)
OKLaboklab(70.42% -0.0988 0.117)
OKLCHoklch(70.42% 0.153 130.2)
XYZxyz(25.6267, 36.7338, 10.7401)
Luminance0.3673 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB241 #7441B2
analogous
#B2AD41 #7FB241 #46B241
triadic
#7FB241 #417FB2 #B2417F
tetradic
#7FB241 #41B2AD #7441B2 #B24146
square
#7FB241 #41B2AD #7441B2 #B24146
split-complementary
#7FB241 #4146B2 #AD41B2
monochromatic
#3F5820 #5F8531 #7FB241 #9DC868 #BAD895

Accessibility & contrast

On white

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

On black

8.35
#7FB241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB241
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB241#FFFFFF#000000##000000
##7FB2411.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA633
Deuteranopia (green-blind)
#B3A24A
Tritanopia (blue-blind)
#82AB9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7fb241;
/* rgb */ color: rgb(127, 178, 65);
/* oklch */ color: oklch(70.4% 0.153 130.2);
Tailwind
colors: {
  custom: {
    50: '#a7c97b',
    500: '#7fb241',
    950: '#000000',
  },
}
SCSS
$custom: #7fb241;
$custom-light: #a7c97b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb241",
  "rgb": {
    "r": 127,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 87.08,
    "s": 46.502,
    "l": 47.647
  },
  "oklch": {
    "l": 0.70424,
    "c": 0.15316,
    "h": 130.2
  },
  "luminance": 0.36734
}

Semantic roles & 50–950 ramp

primary
#7FB241
secondary
#A58BC4
accent
#52D68D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7FB241

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

Preview Lab → · Contrast checker → · Palette generator →

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