#7FA642#7FA642

#7FA642 is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.5% C 0.136 H 127.6°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7FA642
RGBrgb(127, 166, 66)
HSLhsl(83, 43%, 45%)
HSVhsv(83, 60%, 65%)
CMYKcmyk(23.5%, 0%, 60.2%, 34.9%)
CIE-LABlab(63.49, -29.38, 46.42)
CIE-LCHlch(63.49, 54.93, 122.33°)
OKLaboklab(67.52% -0.083 0.1078)
OKLCHoklch(67.52% 0.136 127.6)
XYZxyz(23.3719, 32.1774, 10.1327)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA642 #6942A6
analogous
#A69B42 #7FA642 #4DA642
triadic
#7FA642 #427FA6 #A6427F
tetradic
#7FA642 #42A69B #6942A6 #A6424D
square
#7FA642 #42A69B #6942A6 #A6424D
split-complementary
#7FA642 #424DA6 #9B42A6
monochromatic
#3C4E1F #5D7A31 #7FA642 #9DC164 #B9D390

Accessibility & contrast

On white

2.82
#7FA642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#7FA642 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA642
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA642#FFFFFF#000000##000000
##7FA6421.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B37
Deuteranopia (green-blind)
#A89949
Tritanopia (blue-blind)
#839F91
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa642;
/* rgb */ color: rgb(127, 166, 66);
/* oklch */ color: oklch(67.5% 0.136 127.6);
Tailwind
colors: {
  custom: {
    50: '#a7c07a',
    500: '#7fa642',
    950: '#000000',
  },
}
SCSS
$custom: #7fa642;
$custom-light: #a7c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa642",
  "rgb": {
    "r": 127,
    "g": 166,
    "b": 66
  },
  "hsl": {
    "h": 83.4,
    "s": 43.103,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67519,
    "c": 0.13604,
    "h": 127.6
  },
  "luminance": 0.32178
}

Semantic roles & 50–950 ramp

primary
#7FA642
secondary
#9C86BE
accent
#55D386
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA642

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

Preview Lab → · Contrast checker → · Palette generator →

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