#7FA741#7FA741

#7FA741 is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.8% C 0.138 H 127.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7FA741
RGBrgb(127, 167, 65)
HSLhsl(84, 44%, 45%)
HSVhsv(84, 61%, 65%)
CMYKcmyk(24%, 0%, 61.1%, 34.5%)
CIE-LABlab(63.78, -29.94, 47.20)
CIE-LCHlch(63.78, 55.89, 122.39°)
OKLaboklab(67.75% -0.0847 0.1093)
OKLCHoklch(67.75% 0.138 127.8)
XYZxyz(23.5252, 32.5307, 10.0396)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA741 #6941A7
analogous
#A79C41 #7FA741 #4CA741
triadic
#7FA741 #417FA7 #A7417F
tetradic
#7FA741 #41A79C #6941A7 #A7414C
square
#7FA741 #41A79C #6941A7 #A7414C
split-complementary
#7FA741 #414CA7 #9C41A7
monochromatic
#3C4F1F #5D7B30 #7FA741 #9DC263 #B9D38F

Accessibility & contrast

On white

2.80
#7FA741 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7FA741 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA741
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA741#FFFFFF#000000##000000
##7FA7411.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C35
Deuteranopia (green-blind)
#A99A48
Tritanopia (blue-blind)
#83A091
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa741;
/* rgb */ color: rgb(127, 167, 65);
/* oklch */ color: oklch(67.8% 0.138 127.8);
Tailwind
colors: {
  custom: {
    50: '#a7c17a',
    500: '#7fa741',
    950: '#000000',
  },
}
SCSS
$custom: #7fa741;
$custom-light: #a7c17a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa741",
  "rgb": {
    "r": 127,
    "g": 167,
    "b": 65
  },
  "hsl": {
    "h": 83.529,
    "s": 43.966,
    "l": 45.49
  },
  "oklch": {
    "l": 0.67751,
    "c": 0.13827,
    "h": 127.8
  },
  "luminance": 0.32531
}

Semantic roles & 50–950 ramp

primary
#7FA741
secondary
#9C85BF
accent
#54D486
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA741

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

Preview Lab → · Contrast checker → · Palette generator →

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