#7FA12A#7FA12A

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

Color values

HEX#7FA12A
RGBrgb(127, 161, 42)
HSLhsl(77, 59%, 40%)
HSVhsv(77, 74%, 63%)
CMYKcmyk(21.1%, 0%, 73.9%, 36.9%)
CIE-LABlab(61.80, -28.74, 54.56)
CIE-LCHlch(61.80, 61.67, 117.78°)
OKLaboklab(66.09% -0.0834 0.1216)
OKLCHoklch(66.09% 0.147 124.5)
XYZxyz(21.9154, 30.1687, 6.8586)
Luminance0.3017 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA12A #4C2AA1
analogous
#A1882A #7FA12A #43A12A
triadic
#7FA12A #2A7FA1 #A12A7F
tetradic
#7FA12A #2AA188 #4C2AA1 #A12A43
square
#7FA12A #2AA188 #4C2AA1 #A12A43
split-complementary
#7FA12A #2A43A1 #882AA1
monochromatic
#324011 #59701D #7FA12A #A3CC3C #BAD96D

Accessibility & contrast

On white

2.99
#7FA12A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7FA12A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA12A
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA12A#FFFFFF#000000##000000
##7FA12A1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa12a;
/* rgb */ color: rgb(127, 161, 42);
/* oklch */ color: oklch(66.1% 0.147 124.5);
Tailwind
colors: {
  custom: {
    50: '#a7bd6c',
    500: '#7fa12a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa12a;
$custom-light: #a7bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa12a",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 42
  },
  "hsl": {
    "h": 77.143,
    "s": 58.621,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66091,
    "c": 0.14744,
    "h": 124.5
  },
  "luminance": 0.30169
}

Semantic roles & 50–950 ramp

primary
#7FA12A
secondary
#8067C0
accent
#46E273
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA12A

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

Preview Lab → · Contrast checker → · Palette generator →

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