#7FA12E#7FA12E

#7FA12E is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.1% C 0.145 H 124.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7FA12E
RGBrgb(127, 161, 46)
HSLhsl(78, 56%, 41%)
HSVhsv(78, 71%, 63%)
CMYKcmyk(21.1%, 0%, 71.4%, 36.9%)
CIE-LABlab(61.83, -28.50, 53.10)
CIE-LCHlch(61.83, 60.27, 118.23°)
OKLaboklab(66.12% -0.0824 0.1191)
OKLCHoklch(66.12% 0.145 124.7)
XYZxyz(21.9906, 30.1988, 7.2546)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA12E #502EA1
analogous
#A1892E #7FA12E #45A12E
triadic
#7FA12E #2E7FA1 #A12E7F
tetradic
#7FA12E #2EA189 #502EA1 #A12E45
square
#7FA12E #2EA189 #502EA1 #A12E45
split-complementary
#7FA12E #2E45A1 #892EA1
monochromatic
#344213 #597120 #7FA12E #A2C943 #B9D773

Accessibility & contrast

On white

2.98
#7FA12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7FA12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA12E
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA12E#FFFFFF#000000##000000
##7FA12E1.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971B
Deuteranopia (green-blind)
#A59538
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa12e;
/* rgb */ color: rgb(127, 161, 46);
/* oklch */ color: oklch(66.1% 0.145 124.7);
Tailwind
colors: {
  custom: {
    50: '#a7bd6e',
    500: '#7fa12e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa12e;
$custom-light: #a7bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa12e",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 77.739,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.6612,
    "c": 0.14488,
    "h": 124.7
  },
  "luminance": 0.30199
}

Semantic roles & 50–950 ramp

primary
#7FA12E
secondary
#856CBE
accent
#49DF75
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA12E

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

Preview Lab → · Contrast checker → · Palette generator →

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