#7FA540#7FA540

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

Color values

HEX#7FA540
RGBrgb(127, 165, 64)
HSLhsl(83, 44%, 45%)
HSVhsv(83, 61%, 65%)
CMYKcmyk(23%, 0%, 61.2%, 35.3%)
CIE-LABlab(63.17, -29.08, 46.97)
CIE-LCHlch(63.17, 55.24, 121.76°)
OKLaboklab(67.26% -0.0824 0.1087)
OKLCHoklch(67.26% 0.136 127.1)
XYZxyz(23.1329, 31.7921, 9.7672)
Luminance0.3179 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA540 #6640A5
analogous
#A59840 #7FA540 #4DA540
triadic
#7FA540 #407FA5 #A5407F
tetradic
#7FA540 #40A598 #6640A5 #A5404D
square
#7FA540 #40A598 #6640A5 #A5404D
split-complementary
#7FA540 #404DA5 #9840A5
monochromatic
#3B4D1E #5D792F #7FA540 #9DC261 #B8D38D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA540#FFFFFF#000000##000000
##7FA5401.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)
#AD9A35
Deuteranopia (green-blind)
#A89847
Tritanopia (blue-blind)
#839E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa540;
/* rgb */ color: rgb(127, 165, 64);
/* oklch */ color: oklch(67.3% 0.136 127.1);
Tailwind
colors: {
  custom: {
    50: '#a7c079',
    500: '#7fa540',
    950: '#000000',
  },
}
SCSS
$custom: #7fa540;
$custom-light: #a7c079;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa540",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 64
  },
  "hsl": {
    "h": 82.574,
    "s": 44.105,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67255,
    "c": 0.13639,
    "h": 127.1
  },
  "luminance": 0.31792
}

Semantic roles & 50–950 ramp

primary
#7FA540
secondary
#9983BE
accent
#54D484
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA540

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

Preview Lab → · Contrast checker → · Palette generator →

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