#7FA62E#7FA62E

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

Color values

HEX#7FA62E
RGBrgb(127, 166, 46)
HSLhsl(80, 57%, 42%)
HSVhsv(80, 72%, 65%)
CMYKcmyk(23.5%, 0%, 72.3%, 34.9%)
CIE-LABlab(63.33, -30.89, 54.60)
CIE-LCHlch(63.33, 62.73, 119.50°)
OKLaboklab(67.34% -0.089 0.1223)
OKLCHoklch(67.34% 0.151 126)
XYZxyz(22.8819, 31.9814, 7.5517)
Luminance0.3198 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA62E #552EA6
analogous
#A6912E #7FA62E #43A62E
triadic
#7FA62E #2E7FA6 #A62E7F
tetradic
#7FA62E #2EA691 #552EA6 #A62E43
square
#7FA62E #2EA691 #552EA6 #A62E43
split-complementary
#7FA62E #2E43A6 #912EA6
monochromatic
#364613 #5A7621 #7FA62E #A0CC46 #B9D976

Accessibility & contrast

On white

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

On black

7.40
#7FA62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA62E
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA62E#FFFFFF#000000##000000
##7FA62E1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B19
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa62e;
/* rgb */ color: rgb(127, 166, 46);
/* oklch */ color: oklch(67.3% 0.151 126.0);
Tailwind
colors: {
  custom: {
    50: '#a8c06f',
    500: '#7fa62e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa62e;
$custom-light: #a8c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa62e",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 46
  },
  "hsl": {
    "h": 79.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67336,
    "c": 0.15123,
    "h": 126
  },
  "luminance": 0.31982
}

Semantic roles & 50–950 ramp

primary
#7FA62E
secondary
#8A6FC1
accent
#48E079
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA62E

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

Preview Lab → · Contrast checker → · Palette generator →

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