#7FA241#7FA241

#7FA241 is a light, vivid yellow-green. Relative luminance 0.307; OKLCH L 66.5% C 0.131 H 126.4°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7FA241
RGBrgb(127, 162, 65)
HSLhsl(82, 43%, 45%)
HSVhsv(82, 60%, 64%)
CMYKcmyk(21.6%, 0%, 59.9%, 36.5%)
CIE-LABlab(62.28, -27.54, 45.52)
CIE-LCHlch(62.28, 53.21, 121.17°)
OKLaboklab(66.54% -0.078 0.1058)
OKLCHoklch(66.54% 0.131 126.4)
XYZxyz(22.6269, 30.7340, 9.7402)
Luminance0.3073 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA241 #6441A2
analogous
#A29441 #7FA241 #4FA241
triadic
#7FA241 #417FA2 #A2417F
tetradic
#7FA241 #41A294 #6441A2 #A2414F
square
#7FA241 #41A294 #6441A2 #A2414F
split-complementary
#7FA241 #414FA2 #9441A2
monochromatic
#3B4B1E #5D762F #7FA241 #9DBF61 #B8D18C

Accessibility & contrast

On white

2.94
#7FA241 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#7FA241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA241
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA241#FFFFFF#000000##000000
##7FA2411.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9836
Deuteranopia (green-blind)
#A59648
Tritanopia (blue-blind)
#849B8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa241;
/* rgb */ color: rgb(127, 162, 65);
/* oklch */ color: oklch(66.5% 0.131 126.4);
Tailwind
colors: {
  custom: {
    50: '#a6bd79',
    500: '#7fa241',
    950: '#000000',
  },
}
SCSS
$custom: #7fa241;
$custom-light: #a6bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa241",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 65
  },
  "hsl": {
    "h": 81.649,
    "s": 42.731,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6654,
    "c": 0.13142,
    "h": 126.4
  },
  "luminance": 0.30734
}

Semantic roles & 50–950 ramp

primary
#7FA241
secondary
#9783BC
accent
#55D382
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA241

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

Preview Lab → · Contrast checker → · Palette generator →

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