#7FA240#7FA240

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

Color values

HEX#7FA240
RGBrgb(127, 162, 64)
HSLhsl(81, 43%, 44%)
HSVhsv(81, 60%, 64%)
CMYKcmyk(21.6%, 0%, 60.5%, 36.5%)
CIE-LABlab(62.27, -27.63, 45.97)
CIE-LCHlch(62.27, 53.64, 121.01°)
OKLaboklab(66.53% -0.0784 0.1066)
OKLCHoklch(66.53% 0.132 126.3)
XYZxyz(22.5982, 30.7225, 9.5890)
Luminance0.3072 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA240 #6340A2
analogous
#A29440 #7FA240 #4EA240
triadic
#7FA240 #407FA2 #A2407F
tetradic
#7FA240 #40A294 #6340A2 #A2404E
square
#7FA240 #40A294 #6340A2 #A2404E
split-complementary
#7FA240 #404EA2 #9440A2
monochromatic
#3A4A1D #5D762F #7FA240 #9DC05F #B8D18B

Accessibility & contrast

On white

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

On black

7.14
#7FA240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA240
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA240#FFFFFF#000000##000000
##7FA2401.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa240;
/* rgb */ color: rgb(127, 162, 64);
/* oklch */ color: oklch(66.5% 0.132 126.3);
Tailwind
colors: {
  custom: {
    50: '#a7bd79',
    500: '#7fa240',
    950: '#000000',
  },
}
SCSS
$custom: #7fa240;
$custom-light: #a7bd79;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa240",
  "rgb": {
    "r": 127,
    "g": 162,
    "b": 64
  },
  "hsl": {
    "h": 81.429,
    "s": 43.363,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66529,
    "c": 0.13229,
    "h": 126.3
  },
  "luminance": 0.30723
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA240

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

Preview Lab → · Contrast checker → · Palette generator →

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