#7FA157#7FA157

#7FA157 is a light, moderate yellow-green. Relative luminance 0.307; OKLCH L 66.6% C 0.108 H 129.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#7FA157
RGBrgb(127, 161, 87)
HSLhsl(88, 30%, 49%)
HSVhsv(88, 46%, 63%)
CMYKcmyk(21.1%, 0%, 46%, 36.9%)
CIE-LABlab(62.24, -24.71, 34.65)
CIE-LCHlch(62.24, 42.55, 125.49°)
OKLaboklab(66.59% -0.0683 0.0838)
OKLCHoklch(66.59% 0.108 129.2)
XYZxyz(23.2173, 30.6895, 13.7154)
Luminance0.3069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA157 #7957A1
analogous
#A19E57 #7FA157 #5AA157
triadic
#7FA157 #577FA1 #A1577F
tetradic
#7FA157 #57A19E #7957A1 #A1575A
square
#7FA157 #57A19E #7957A1 #A1575A
split-complementary
#7FA157 #575AA1 #9E57A1
monochromatic
#40522C #607942 #7FA157 #9DB97D #BBCEA4

Accessibility & contrast

On white

2.94
#7FA157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#7FA157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA157
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA157#FFFFFF#000000##000000
##7FA1571.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79851
Deuteranopia (green-blind)
#A2965B
Tritanopia (blue-blind)
#829B8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa157;
/* rgb */ color: rgb(127, 161, 87);
/* oklch */ color: oklch(66.6% 0.108 129.2);
Tailwind
colors: {
  custom: {
    50: '#a5bd88',
    500: '#7fa157',
    950: '#000000',
  },
}
SCSS
$custom: #7fa157;
$custom-light: #a5bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa157",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 87
  },
  "hsl": {
    "h": 87.568,
    "s": 29.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66594,
    "c": 0.10816,
    "h": 129.2
  },
  "luminance": 0.3069
}

Semantic roles & 50–950 ramp

primary
#7FA157
secondary
#A898BC
accent
#62C690
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA157

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

Preview Lab → · Contrast checker → · Palette generator →

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