#7FA151#7FA151

#7FA151 is a light, moderate yellow-green. Relative luminance 0.306; OKLCH L 66.5% C 0.115 H 128.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7FA151
RGBrgb(127, 161, 81)
HSLhsl(86, 33%, 47%)
HSVhsv(86, 50%, 63%)
CMYKcmyk(21.1%, 0%, 49.7%, 36.9%)
CIE-LABlab(62.16, -25.42, 37.62)
CIE-LCHlch(62.16, 45.40, 124.04°)
OKLaboklab(66.5% -0.0707 0.0901)
OKLCHoklch(66.5% 0.115 128.1)
XYZxyz(22.9823, 30.5955, 12.4777)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA151 #7351A1
analogous
#A19B51 #7FA151 #57A151
triadic
#7FA151 #517FA1 #A1517F
tetradic
#7FA151 #51A19B #7351A1 #A15157
square
#7FA151 #51A19B #7351A1 #A15157
split-complementary
#7FA151 #5157A1 #9B51A1
monochromatic
#3F5028 #5F783D #7FA151 #9DBA75 #BACE9E

Accessibility & contrast

On white

2.95
#7FA151 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7FA151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA151
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA151#FFFFFF#000000##000000
##7FA1511.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984A
Deuteranopia (green-blind)
#A39656
Tritanopia (blue-blind)
#829B8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa151;
/* rgb */ color: rgb(127, 161, 81);
/* oklch */ color: oklch(66.5% 0.115 128.1);
Tailwind
colors: {
  custom: {
    50: '#a6bd84',
    500: '#7fa151',
    950: '#000000',
  },
}
SCSS
$custom: #7fa151;
$custom-light: #a6bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa151",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 81
  },
  "hsl": {
    "h": 85.5,
    "s": 33.058,
    "l": 47.451
  },
  "oklch": {
    "l": 0.66504,
    "c": 0.11454,
    "h": 128.1
  },
  "luminance": 0.30596
}

Semantic roles & 50–950 ramp

primary
#7FA151
secondary
#A493BB
accent
#5FC98C
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA151

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

Preview Lab → · Contrast checker → · Palette generator →

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