#7FA62F#7FA62F

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

Color values

HEX#7FA62F
RGBrgb(127, 166, 47)
HSLhsl(80, 56%, 42%)
HSVhsv(80, 72%, 65%)
CMYKcmyk(23.5%, 0%, 71.7%, 34.9%)
CIE-LABlab(63.33, -30.82, 54.23)
CIE-LCHlch(63.33, 62.38, 119.61°)
OKLaboklab(67.34% -0.0887 0.1217)
OKLCHoklch(67.34% 0.151 126.1)
XYZxyz(22.9018, 31.9894, 7.6568)
Luminance0.3199 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA62F #562FA6
analogous
#A6922F #7FA62F #43A62F
triadic
#7FA62F #2F7FA6 #A62F7F
tetradic
#7FA62F #2FA692 #562FA6 #A62F43
square
#7FA62F #2FA692 #562FA6 #A62F43
split-complementary
#7FA62F #2F43A6 #922FA6
monochromatic
#364714 #5B7621 #7FA62F #A0CB47 #B9D877

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA62F#FFFFFF#000000##000000
##7FA62F1.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)
#AF9B1B
Deuteranopia (green-blind)
#AA9939
Tritanopia (blue-blind)
#849E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa62f;
/* rgb */ color: rgb(127, 166, 47);
/* oklch */ color: oklch(67.3% 0.151 126.1);
Tailwind
colors: {
  custom: {
    50: '#a8c06f',
    500: '#7fa62f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa62f;
$custom-light: #a8c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa62f",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 47
  },
  "hsl": {
    "h": 79.664,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67344,
    "c": 0.15058,
    "h": 126.1
  },
  "luminance": 0.3199
}

Semantic roles & 50–950 ramp

primary
#7FA62F
secondary
#8B70C1
accent
#49DF7A
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA62F

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

Preview Lab → · Contrast checker → · Palette generator →

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