#7FA541#7FA541

#7FA541 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.3% C 0.136 H 127.2°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7FA541
RGBrgb(127, 165, 65)
HSLhsl(83, 43%, 45%)
HSVhsv(83, 61%, 65%)
CMYKcmyk(23%, 0%, 60.6%, 35.3%)
CIE-LABlab(63.18, -28.99, 46.53)
CIE-LCHlch(63.18, 54.82, 121.92°)
OKLaboklab(67.27% -0.082 0.1079)
OKLCHoklch(67.27% 0.136 127.2)
XYZxyz(23.1616, 31.8036, 9.9184)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA541 #6741A5
analogous
#A59941 #7FA541 #4DA541
triadic
#7FA541 #417FA5 #A5417F
tetradic
#7FA541 #41A599 #6741A5 #A5414D
square
#7FA541 #41A599 #6741A5 #A5414D
split-complementary
#7FA541 #414DA5 #9941A5
monochromatic
#3B4D1E #5D7930 #7FA541 #9DC162 #B8D28E

Accessibility & contrast

On white

2.85
#7FA541 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#7FA541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA541
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA541#FFFFFF#000000##000000
##7FA5411.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A36
Deuteranopia (green-blind)
#A89848
Tritanopia (blue-blind)
#839E90
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa541;
/* rgb */ color: rgb(127, 165, 65);
/* oklch */ color: oklch(67.3% 0.136 127.2);
Tailwind
colors: {
  custom: {
    50: '#a7c079',
    500: '#7fa541',
    950: '#000000',
  },
}
SCSS
$custom: #7fa541;
$custom-light: #a7c079;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa541",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 65
  },
  "hsl": {
    "h": 82.8,
    "s": 43.478,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67266,
    "c": 0.13553,
    "h": 127.2
  },
  "luminance": 0.31804
}

Semantic roles & 50–950 ramp

primary
#7FA541
secondary
#9A84BE
accent
#55D385
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA541

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

Preview Lab → · Contrast checker → · Palette generator →

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