#7FA62A#7FA62A

#7FA62A is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 67.3% C 0.154 H 125.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7FA62A
RGBrgb(127, 166, 42)
HSLhsl(79, 60%, 41%)
HSVhsv(79, 75%, 65%)
CMYKcmyk(23.5%, 0%, 74.7%, 34.9%)
CIE-LABlab(63.30, -31.12, 56.02)
CIE-LCHlch(63.30, 64.08, 119.05°)
OKLaboklab(67.31% -0.0899 0.1246)
OKLCHoklch(67.31% 0.154 125.8)
XYZxyz(22.8067, 31.9513, 7.1557)
Luminance0.3195 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA62A #512AA6
analogous
#A68F2A #7FA62A #41A62A
triadic
#7FA62A #2A7FA6 #A62A7F
tetradic
#7FA62A #2AA68F #512AA6 #A62A41
square
#7FA62A #2AA68F #512AA6 #A62A41
split-complementary
#7FA62A #2A41A6 #8F2AA6
monochromatic
#344411 #5A751E #7FA62A #A1CE3F #B9DB70

Accessibility & contrast

On white

2.84
#7FA62A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#7FA62A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA62A
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA62A#FFFFFF#000000##000000
##7FA62A1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B10
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#859E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa62a;
/* rgb */ color: rgb(127, 166, 42);
/* oklch */ color: oklch(67.3% 0.154 125.8);
Tailwind
colors: {
  custom: {
    50: '#a8c06d',
    500: '#7fa62a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa62a;
$custom-light: #a8c06d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa62a",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 42
  },
  "hsl": {
    "h": 78.871,
    "s": 59.615,
    "l": 40.784
  },
  "oklch": {
    "l": 0.67308,
    "c": 0.15369,
    "h": 125.8
  },
  "luminance": 0.31952
}

Semantic roles & 50–950 ramp

primary
#7FA62A
secondary
#866AC2
accent
#45E377
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA62A

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

Preview Lab → · Contrast checker → · Palette generator →

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