#7FA55B#7FA55B

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

Color values

HEX#7FA55B
RGBrgb(127, 165, 91)
HSLhsl(91, 29%, 50%)
HSVhsv(91, 45%, 65%)
CMYKcmyk(23%, 0%, 44.8%, 35.3%)
CIE-LABlab(63.49, -26.18, 34.13)
CIE-LCHlch(63.49, 43.01, 127.49°)
OKLaboklab(67.62% -0.0722 0.0829)
OKLCHoklch(67.62% 0.11 131)
XYZxyz(24.0955, 32.1771, 14.8368)
Luminance0.3218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA55B #815BA5
analogous
#A4A55B #7FA55B #5BA55C
triadic
#7FA55B #5B7FA5 #A55B7F
tetradic
#7FA55B #5BA4A5 #815BA5 #A55C5B
square
#7FA55B #5BA4A5 #815BA5 #A55C5B
split-complementary
#7FA55B #5C5BA5 #A55BA4
monochromatic
#42562F #617E45 #7FA55B #9EBB83 #BDD0AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA55B#FFFFFF#000000##000000
##7FA55B1.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)
#AB9C55
Deuteranopia (green-blind)
#A5995F
Tritanopia (blue-blind)
#819F93
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7fa55b;
/* rgb */ color: rgb(127, 165, 91);
/* oklch */ color: oklch(67.6% 0.110 131.0);
Tailwind
colors: {
  custom: {
    50: '#a5c08b',
    500: '#7fa55b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa55b;
$custom-light: #a5c08b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa55b",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 91
  },
  "hsl": {
    "h": 90.811,
    "s": 29.134,
    "l": 50.196
  },
  "oklch": {
    "l": 0.67616,
    "c": 0.10992,
    "h": 131
  },
  "luminance": 0.32178
}

Semantic roles & 50–950 ramp

primary
#7FA55B
secondary
#AE9DBE
accent
#62C595
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA55B

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

Preview Lab → · Contrast checker → · Palette generator →

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