#7FA154#7FA154

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

Color values

HEX#7FA154
RGBrgb(127, 161, 84)
HSLhsl(86, 31%, 48%)
HSVhsv(86, 48%, 63%)
CMYKcmyk(21.1%, 0%, 47.8%, 36.9%)
CIE-LABlab(62.20, -25.07, 36.14)
CIE-LCHlch(62.20, 43.99, 124.75°)
OKLaboklab(66.55% -0.0695 0.087)
OKLCHoklch(66.55% 0.111 128.6)
XYZxyz(23.0973, 30.6415, 13.0833)
Luminance0.3064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA154 #7654A1
analogous
#A19D54 #7FA154 #58A154
triadic
#7FA154 #547FA1 #A1547F
tetradic
#7FA154 #54A19D #7654A1 #A15458
square
#7FA154 #54A19D #7654A1 #A15458
split-complementary
#7FA154 #5458A1 #9D54A1
monochromatic
#40512A #5F793F #7FA154 #9DB979 #BACEA1

Accessibility & contrast

On white

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

On black

7.13
#7FA154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA154
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA154#FFFFFF#000000##000000
##7FA1541.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa154;
/* rgb */ color: rgb(127, 161, 84);
/* oklch */ color: oklch(66.5% 0.111 128.6);
Tailwind
colors: {
  custom: {
    50: '#a6bd86',
    500: '#7fa154',
    950: '#000000',
  },
}
SCSS
$custom: #7fa154;
$custom-light: #a6bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa154",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 84
  },
  "hsl": {
    "h": 86.494,
    "s": 31.429,
    "l": 48.039
  },
  "oklch": {
    "l": 0.66548,
    "c": 0.11138,
    "h": 128.6
  },
  "luminance": 0.30642
}

Semantic roles & 50–950 ramp

primary
#7FA154
secondary
#A695BB
accent
#60C88E
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA154

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

Preview Lab → · Contrast checker → · Palette generator →

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