#7FA45A#7FA45A

#7FA45A is a light, moderate yellow-green. Relative luminance 0.318; OKLCH L 67.4% C 0.109 H 130.6°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#7FA45A
RGBrgb(127, 164, 90)
HSLhsl(90, 29%, 50%)
HSVhsv(90, 45%, 64%)
CMYKcmyk(22.6%, 0%, 45.1%, 35.7%)
CIE-LABlab(63.18, -25.81, 34.26)
CIE-LCHlch(63.18, 42.90, 127.00°)
OKLaboklab(67.36% -0.0712 0.0831)
OKLCHoklch(67.36% 0.109 130.6)
XYZxyz(23.8730, 31.8006, 14.5513)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA45A #7F5AA4
analogous
#A4A45A #7FA45A #5AA45A
triadic
#7FA45A #5A7FA4 #A45A7F
tetradic
#7FA45A #5AA4A4 #7F5AA4 #A45A5A
square
#7FA45A #5AA4A4 #7F5AA4 #A45A5A
split-complementary
#7FA45A #5A5AA4 #A45AA4
monochromatic
#42552F #607C44 #7FA45A #9EBA81 #BCD0A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA45A#FFFFFF#000000##000000
##7FA45A1.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)
#AA9B54
Deuteranopia (green-blind)
#A5985E
Tritanopia (blue-blind)
#819E92
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa45a;
/* rgb */ color: rgb(127, 164, 90);
/* oklch */ color: oklch(67.4% 0.109 130.6);
Tailwind
colors: {
  custom: {
    50: '#a5bf8a',
    500: '#7fa45a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa45a;
$custom-light: #a5bf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa45a",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 90
  },
  "hsl": {
    "h": 90,
    "s": 29.134,
    "l": 49.804
  },
  "oklch": {
    "l": 0.6736,
    "c": 0.10947,
    "h": 130.6
  },
  "luminance": 0.31801
}

Semantic roles & 50–950 ramp

primary
#7FA45A
secondary
#AD9CBE
accent
#62C594
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA45A

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

Preview Lab → · Contrast checker → · Palette generator →

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