#7FA55C#7FA55C

#7FA55C is a light, moderate yellow-green. Relative luminance 0.322; OKLCH L 67.6% C 0.109 H 131.2°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#7FA55C
RGBrgb(127, 165, 92)
HSLhsl(91, 29%, 50%)
HSVhsv(91, 44%, 65%)
CMYKcmyk(23%, 0%, 44.2%, 35.3%)
CIE-LABlab(63.50, -26.05, 33.63)
CIE-LCHlch(63.50, 42.54, 127.76°)
OKLaboklab(67.63% -0.0717 0.0818)
OKLCHoklch(67.63% 0.109 131.2)
XYZxyz(24.1389, 32.1945, 15.0655)
Luminance0.3220 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA55C #825CA5
analogous
#A3A55C #7FA55C #5CA55D
triadic
#7FA55C #5C7FA5 #A55C7F
tetradic
#7FA55C #5CA3A5 #825CA5 #A55D5C
square
#7FA55C #5CA3A5 #825CA5 #A55D5C
split-complementary
#7FA55C #5D5CA5 #A55CA3
monochromatic
#435730 #617E46 #7FA55C #9EBB83 #BDD1AB

Accessibility & contrast

On white

2.82
#7FA55C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#7FA55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA55C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA55C#FFFFFF#000000##000000
##7FA55C1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9C56
Deuteranopia (green-blind)
#A59960
Tritanopia (blue-blind)
#81A093
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa55c;
/* rgb */ color: rgb(127, 165, 92);
/* oklch */ color: oklch(67.6% 0.109 131.2);
Tailwind
colors: {
  custom: {
    50: '#a5c08b',
    500: '#7fa55c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa55c;
$custom-light: #a5c08b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa55c",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 92
  },
  "hsl": {
    "h": 91.233,
    "s": 28.854,
    "l": 50.392
  },
  "oklch": {
    "l": 0.67632,
    "c": 0.10883,
    "h": 131.2
  },
  "luminance": 0.32195
}

Semantic roles & 50–950 ramp

primary
#7FA55C
secondary
#AF9EBF
accent
#63C596
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA55C

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

Preview Lab → · Contrast checker → · Palette generator →

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