#7FA45C#7FA45C

#7FA45C is a light, moderate yellow-green. Relative luminance 0.318; OKLCH L 67.4% C 0.107 H 131.0°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7FA45C
RGBrgb(127, 164, 92)
HSLhsl(91, 28%, 50%)
HSVhsv(91, 44%, 64%)
CMYKcmyk(22.6%, 0%, 43.9%, 35.7%)
CIE-LABlab(63.21, -25.56, 33.26)
CIE-LCHlch(63.21, 41.94, 127.54°)
OKLaboklab(67.39% -0.0704 0.081)
OKLCHoklch(67.39% 0.107 131)
XYZxyz(23.9593, 31.8352, 15.0056)
Luminance0.3184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA45C #815CA4
analogous
#A3A45C #7FA45C #5CA45D
triadic
#7FA45C #5C7FA4 #A45C7F
tetradic
#7FA45C #5CA3A4 #815CA4 #A45D5C
square
#7FA45C #5CA3A4 #815CA4 #A45D5C
split-complementary
#7FA45C #5D5CA4 #A45CA3
monochromatic
#425630 #617D46 #7FA45C #9EBA83 #BDD0AB

Accessibility & contrast

On white

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

On black

7.37
#7FA45C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA45C
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA45C#FFFFFF#000000##000000
##7FA45C1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B56
Deuteranopia (green-blind)
#A49860
Tritanopia (blue-blind)
#819F93
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa45c;
/* rgb */ color: rgb(127, 164, 92);
/* oklch */ color: oklch(67.4% 0.107 131.0);
Tailwind
colors: {
  custom: {
    50: '#a5bf8b',
    500: '#7fa45c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa45c;
$custom-light: #a5bf8b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa45c",
  "rgb": {
    "r": 127,
    "g": 164,
    "b": 92
  },
  "hsl": {
    "h": 90.833,
    "s": 28.346,
    "l": 50.196
  },
  "oklch": {
    "l": 0.67392,
    "c": 0.10729,
    "h": 131
  },
  "luminance": 0.31836
}

Semantic roles & 50–950 ramp

primary
#7FA45C
secondary
#AE9EBE
accent
#63C595
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA45C

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

Preview Lab → · Contrast checker → · Palette generator →

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