#7FA45F#7FA45F

#7FA45F is a light, moderate yellow-green. Relative luminance 0.319; OKLCH L 67.4% C 0.104 H 131.7°. Best body text is #000000 at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#7FA45F
RGBrgb(127, 164, 95)
HSLhsl(92, 27%, 51%)
HSVhsv(92, 42%, 64%)
CMYKcmyk(22.6%, 0%, 42.1%, 35.7%)
CIE-LABlab(63.25, -25.16, 31.74)
CIE-LCHlch(63.25, 40.50, 128.40°)
OKLaboklab(67.44% -0.0691 0.0777)
OKLCHoklch(67.44% 0.104 131.7)
XYZxyz(24.0930, 31.8887, 15.7100)
Luminance0.3189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA45F #845FA4
analogous
#A1A45F #7FA45F #5FA461
triadic
#7FA45F #5F7FA4 #A45F7F
tetradic
#7FA45F #5FA1A4 #845FA4 #A4615F
square
#7FA45F #5FA1A4 #845FA4 #A4615F
split-complementary
#7FA45F #615FA4 #A45FA1
monochromatic
#435732 #617E48 #7FA45F #9EBA86 #BDD0AD

Accessibility & contrast

On white

2.85
#7FA45F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.38
#7FA45F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA45F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA45F#FFFFFF#000000##000000
##7FA45F1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B5A
Deuteranopia (green-blind)
#A49863
Tritanopia (blue-blind)
#809F93
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa45f;
/* rgb */ color: rgb(127, 164, 95);
/* oklch */ color: oklch(67.4% 0.104 131.7);
Tailwind
colors: {
  custom: {
    50: '#a5bf8d',
    500: '#7fa45f',
    950: '#000000',
  },
}
SCSS
$custom: #7fa45f;
$custom-light: #a5bf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa45f",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 95
  },
  "hsl": {
    "h": 92.174,
    "s": 27.49,
    "l": 50.784
  },
  "oklch": {
    "l": 0.67443,
    "c": 0.10397,
    "h": 131.7
  },
  "luminance": 0.31889
}

Semantic roles & 50–950 ramp

primary
#7FA45F
secondary
#B1A0BF
accent
#64C497
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA45F

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

Preview Lab → · Contrast checker → · Palette generator →

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