#7FB12A#7FB12A

#7FB12A is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.167 H 128.3°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7FB12A
RGBrgb(127, 177, 42)
HSLhsl(82, 62%, 43%)
HSVhsv(82, 76%, 69%)
CMYKcmyk(28.2%, 0%, 76.3%, 30.6%)
CIE-LABlab(66.61, -36.19, 59.19)
CIE-LCHlch(66.61, 69.38, 121.44°)
OKLaboklab(70% -0.1038 0.1313)
OKLCHoklch(70% 0.167 128.3)
XYZxyz(24.8925, 36.1229, 7.8510)
Luminance0.3612 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB12A #5C2AB1
analogous
#B19F2A #7FB12A #3CB12A
triadic
#7FB12A #2A7FB1 #B12A7F
tetradic
#7FB12A #2AB19F #5C2AB1 #B12A3C
square
#7FB12A #2AB19F #5C2AB1 #B12A3C
split-complementary
#7FB12A #2A3CB1 #9F2AB1
monochromatic
#384E13 #5C801E #7FB12A #9ED345 #B8DF77

Accessibility & contrast

On white

2.55
#7FB12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7FB12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB12A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB12A#FFFFFF#000000##000000
##7FB12A1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA408
Deuteranopia (green-blind)
#B3A137
Tritanopia (blue-blind)
#83A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7fb12a;
/* rgb */ color: rgb(127, 177, 42);
/* oklch */ color: oklch(70.0% 0.167 128.3);
Tailwind
colors: {
  custom: {
    50: '#a8c86e',
    500: '#7fb12a',
    950: '#000000',
  },
}
SCSS
$custom: #7fb12a;
$custom-light: #a8c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb12a",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 42
  },
  "hsl": {
    "h": 82.222,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69996,
    "c": 0.16735,
    "h": 128.3
  },
  "luminance": 0.36123
}

Semantic roles & 50–950 ramp

primary
#7FB12A
secondary
#9070C6
accent
#43E57F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB12A

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

Preview Lab → · Contrast checker → · Palette generator →

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