#7FA13B#7FA13B

#7FA13B is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.2% C 0.135 H 125.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7FA13B
RGBrgb(127, 161, 59)
HSLhsl(80, 46%, 43%)
HSVhsv(80, 63%, 63%)
CMYKcmyk(21.1%, 0%, 63.4%, 36.9%)
CIE-LABlab(61.93, -27.57, 47.84)
CIE-LCHlch(61.93, 55.21, 119.95°)
OKLaboklab(66.24% -0.0787 0.1099)
OKLCHoklch(66.24% 0.135 125.6)
XYZxyz(22.2868, 30.3173, 8.8145)
Luminance0.3032 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA13B #5D3BA1
analogous
#A1903B #7FA13B #4CA13B
triadic
#7FA13B #3B7FA1 #A13B7F
tetradic
#7FA13B #3BA190 #5D3BA1 #A13B4C
square
#7FA13B #3BA190 #5D3BA1 #A13B4C
split-complementary
#7FA13B #3B4CA1 #903BA1
monochromatic
#38471A #5C742B #7FA13B #9EC258 #B8D284

Accessibility & contrast

On white

2.97
#7FA13B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7FA13B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA13B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA13B#FFFFFF#000000##000000
##7FA13B1.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972F
Deuteranopia (green-blind)
#A59542
Tritanopia (blue-blind)
#849A8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa13b;
/* rgb */ color: rgb(127, 161, 59);
/* oklch */ color: oklch(66.2% 0.135 125.6);
Tailwind
colors: {
  custom: {
    50: '#a7bd76',
    500: '#7fa13b',
    950: '#000000',
  },
}
SCSS
$custom: #7fa13b;
$custom-light: #a7bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa13b",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 59
  },
  "hsl": {
    "h": 80,
    "s": 46.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66235,
    "c": 0.13518,
    "h": 125.6
  },
  "luminance": 0.30318
}

Semantic roles & 50–950 ramp

primary
#7FA13B
secondary
#917CBC
accent
#52D67E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA13B

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

Preview Lab → · Contrast checker → · Palette generator →

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