#7FA145#7FA145

#7FA145 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.3% C 0.126 H 126.5°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7FA145
RGBrgb(127, 161, 69)
HSLhsl(82, 40%, 45%)
HSVhsv(82, 57%, 63%)
CMYKcmyk(21.1%, 0%, 57.1%, 36.9%)
CIE-LABlab(62.02, -26.68, 43.36)
CIE-LCHlch(62.02, 50.91, 121.61°)
OKLaboklab(66.35% -0.0753 0.1015)
OKLCHoklch(66.35% 0.126 126.5)
XYZxyz(22.5714, 30.4311, 10.3137)
Luminance0.3043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA145 #6745A1
analogous
#A19545 #7FA145 #51A145
triadic
#7FA145 #457FA1 #A1457F
tetradic
#7FA145 #45A195 #6745A1 #A14551
square
#7FA145 #45A195 #6745A1 #A14551
split-complementary
#7FA145 #4551A1 #9545A1
monochromatic
#3B4B20 #5D7633 #7FA145 #9DBD66 #B8D091

Accessibility & contrast

On white

2.96
#7FA145 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7FA145 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA145
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA145#FFFFFF#000000##000000
##7FA1451.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9973C
Deuteranopia (green-blind)
#A4954B
Tritanopia (blue-blind)
#839A8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7fa145;
/* rgb */ color: rgb(127, 161, 69);
/* oklch */ color: oklch(66.3% 0.126 126.5);
Tailwind
colors: {
  custom: {
    50: '#a6bd7c',
    500: '#7fa145',
    950: '#000000',
  },
}
SCSS
$custom: #7fa145;
$custom-light: #a6bd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa145",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 69
  },
  "hsl": {
    "h": 82.174,
    "s": 40,
    "l": 45.098
  },
  "oklch": {
    "l": 0.66345,
    "c": 0.1264,
    "h": 126.5
  },
  "luminance": 0.30431
}

Semantic roles & 50–950 ramp

primary
#7FA145
secondary
#9A87BB
accent
#58D084
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA145

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

Preview Lab → · Contrast checker → · Palette generator →

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