#7FA13C#7FA13C

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

Color values

HEX#7FA13C
RGBrgb(127, 161, 60)
HSLhsl(80, 46%, 43%)
HSVhsv(80, 63%, 63%)
CMYKcmyk(21.1%, 0%, 62.7%, 36.9%)
CIE-LABlab(61.94, -27.49, 47.40)
CIE-LCHlch(61.94, 54.80, 120.11°)
OKLaboklab(66.25% -0.0783 0.1092)
OKLCHoklch(66.25% 0.134 125.7)
XYZxyz(22.3129, 30.3277, 8.9524)
Luminance0.3033 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA13C #5E3CA1
analogous
#A1903C #7FA13C #4CA13C
triadic
#7FA13C #3C7FA1 #A13C7F
tetradic
#7FA13C #3CA190 #5E3CA1 #A13C4C
square
#7FA13C #3CA190 #5E3CA1 #A13C4C
split-complementary
#7FA13C #3C4CA1 #903CA1
monochromatic
#39481B #5C742B #7FA13C #9EC159 #B8D286

Accessibility & contrast

On white

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

On black

7.07
#7FA13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA13C
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA13C#FFFFFF#000000##000000
##7FA13C1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa13c;
/* rgb */ color: rgb(127, 161, 60);
/* oklch */ color: oklch(66.2% 0.134 125.7);
Tailwind
colors: {
  custom: {
    50: '#a7bd76',
    500: '#7fa13c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa13c;
$custom-light: #a7bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa13c",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 60
  },
  "hsl": {
    "h": 80.198,
    "s": 45.701,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66245,
    "c": 0.13435,
    "h": 125.7
  },
  "luminance": 0.30328
}

Semantic roles & 50–950 ramp

primary
#7FA13C
secondary
#927DBC
accent
#52D57F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA13C

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

Preview Lab → · Contrast checker → · Palette generator →

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