#7FA12F#7FA12F

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

Color values

HEX#7FA12F
RGBrgb(127, 161, 47)
HSLhsl(78, 55%, 41%)
HSVhsv(78, 71%, 63%)
CMYKcmyk(21.1%, 0%, 70.8%, 36.9%)
CIE-LABlab(61.83, -28.44, 52.72)
CIE-LCHlch(61.83, 59.91, 118.34°)
OKLaboklab(66.13% -0.0822 0.1185)
OKLCHoklch(66.13% 0.144 124.7)
XYZxyz(22.0105, 30.2068, 7.3597)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA12F #512FA1
analogous
#A18A2F #7FA12F #46A12F
triadic
#7FA12F #2F7FA1 #A12F7F
tetradic
#7FA12F #2FA18A #512FA1 #A12F46
square
#7FA12F #2FA18A #512FA1 #A12F46
split-complementary
#7FA12F #2F46A1 #8A2FA1
monochromatic
#344213 #5A7221 #7FA12F #A1C945 #B9D674

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA12F#FFFFFF#000000##000000
##7FA12F1.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)
#AA971C
Deuteranopia (green-blind)
#A59539
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa12f;
/* rgb */ color: rgb(127, 161, 47);
/* oklch */ color: oklch(66.1% 0.144 124.7);
Tailwind
colors: {
  custom: {
    50: '#a7bd6f',
    500: '#7fa12f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa12f;
$custom-light: #a7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa12f",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 77.895,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.66128,
    "c": 0.14421,
    "h": 124.7
  },
  "luminance": 0.30207
}

Semantic roles & 50–950 ramp

primary
#7FA12F
secondary
#866EBE
accent
#4ADE76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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