#7FB42E#7FB42E

#7FB42E is a light, vivid yellow-green. Relative luminance 0.374; OKLCH L 70.8% C 0.169 H 129.1°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#7FB42E
RGBrgb(127, 180, 46)
HSLhsl(84, 59%, 44%)
HSVhsv(84, 74%, 71%)
CMYKcmyk(29.4%, 0%, 74.4%, 29.4%)
CIE-LABlab(67.54, -37.32, 58.74)
CIE-LCHlch(67.54, 69.59, 122.43°)
OKLaboklab(70.76% -0.1065 0.131)
OKLCHoklch(70.76% 0.169 129.1)
XYZxyz(25.5667, 37.3511, 8.4467)
Luminance0.3735 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB42E #632EB4
analogous
#B4A62E #7FB42E #3CB42E
triadic
#7FB42E #2E7FB4 #B42E7F
tetradic
#7FB42E #2EB4A6 #632EB4 #B42E3C
square
#7FB42E #2EB4A6 #632EB4 #B42E3C
split-complementary
#7FB42E #2E3CB4 #A62EB4
monochromatic
#3A5315 #5D8322 #7FB42E #9DD24E #B8DE7E

Accessibility & contrast

On white

2.48
#7FB42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#7FB42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB42E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB42E#FFFFFF#000000##000000
##7FB42E1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA712
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#83AC9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7fb42e;
/* rgb */ color: rgb(127, 180, 46);
/* oklch */ color: oklch(70.8% 0.169 129.1);
Tailwind
colors: {
  custom: {
    50: '#a8ca70',
    500: '#7fb42e',
    950: '#000000',
  },
}
SCSS
$custom: #7fb42e;
$custom-light: #a8ca70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb42e",
  "rgb": {
    "r": 127,
    "g": 180,
    "b": 46
  },
  "hsl": {
    "h": 83.731,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.70756,
    "c": 0.16882,
    "h": 129.1
  },
  "luminance": 0.37352
}

Semantic roles & 50–950 ramp

primary
#7FB42E
secondary
#9777C7
accent
#45E283
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB42E

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

Preview Lab → · Contrast checker → · Palette generator →

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