#7FB12E#7FB12E

#7FB12E is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.0% C 0.165 H 128.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7FB12E
RGBrgb(127, 177, 46)
HSLhsl(83, 59%, 44%)
HSVhsv(83, 74%, 69%)
CMYKcmyk(28.2%, 0%, 74%, 30.6%)
CIE-LABlab(66.64, -35.97, 57.86)
CIE-LCHlch(66.64, 68.13, 121.87°)
OKLaboklab(70.02% -0.1029 0.1291)
OKLCHoklch(70.02% 0.165 128.5)
XYZxyz(24.9677, 36.1529, 8.2470)
Luminance0.3615 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB12E #602EB1
analogous
#B1A12E #7FB12E #3DB12E
triadic
#7FB12E #2E7FB1 #B12E7F
tetradic
#7FB12E #2EB1A1 #602EB1 #B12E3D
square
#7FB12E #2EB1A1 #602EB1 #B12E3D
split-complementary
#7FB12E #2E3DB1 #A12EB1
monochromatic
#395015 #5C8021 #7FB12E #9ED04C #B8DD7C

Accessibility & contrast

On white

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

On black

8.23
#7FB12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB12E
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB12E#FFFFFF#000000##000000
##7FB12E1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fb12e;
/* rgb */ color: rgb(127, 177, 46);
/* oklch */ color: oklch(70.0% 0.165 128.5);
Tailwind
colors: {
  custom: {
    50: '#a8c870',
    500: '#7fb12e',
    950: '#000000',
  },
}
SCSS
$custom: #7fb12e;
$custom-light: #a8c870;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb12e",
  "rgb": {
    "r": 127,
    "g": 177,
    "b": 46
  },
  "hsl": {
    "h": 82.901,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.70022,
    "c": 0.16508,
    "h": 128.5
  },
  "luminance": 0.36154
}

Semantic roles & 50–950 ramp

primary
#7FB12E
secondary
#9475C6
accent
#46E281
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7FB12E

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

Preview Lab → · Contrast checker → · Palette generator →

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