#7FA85A#7FA85A

#7FA85A is a light, moderate yellow-green. Relative luminance 0.333; OKLCH L 68.3% C 0.116 H 131.6°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#7FA85A
RGBrgb(127, 168, 90)
HSLhsl(92, 31%, 51%)
HSVhsv(92, 46%, 66%)
CMYKcmyk(24.4%, 0%, 46.4%, 34.1%)
CIE-LABlab(64.37, -27.77, 35.75)
CIE-LCHlch(64.37, 45.26, 127.84°)
OKLaboklab(68.32% -0.0766 0.0865)
OKLCHoklch(68.32% 0.116 131.6)
XYZxyz(24.6001, 33.2549, 14.7936)
Luminance0.3326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA85A #835AA8
analogous
#A6A85A #7FA85A #5AA85C
triadic
#7FA85A #5A7FA8 #A85A7F
tetradic
#7FA85A #5AA6A8 #835AA8 #A85C5A
square
#7FA85A #5AA6A8 #835AA8 #A85C5A
split-complementary
#7FA85A #5C5AA8 #A85AA6
monochromatic
#43592F #618144 #7FA85A #9EBD82 #BDD2AA

Accessibility & contrast

On white

2.74
#7FA85A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#7FA85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA85A
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA85A#FFFFFF#000000##000000
##7FA85A1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E54
Deuteranopia (green-blind)
#A89B5F
Tritanopia (blue-blind)
#81A296
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa85a;
/* rgb */ color: rgb(127, 168, 90);
/* oklch */ color: oklch(68.3% 0.116 131.6);
Tailwind
colors: {
  custom: {
    50: '#a6c28a',
    500: '#7fa85a',
    950: '#000000',
  },
}
SCSS
$custom: #7fa85a;
$custom-light: #a6c28a;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa85a",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 90
  },
  "hsl": {
    "h": 91.538,
    "s": 30.952,
    "l": 50.588
  },
  "oklch": {
    "l": 0.6832,
    "c": 0.11556,
    "h": 131.6
  },
  "luminance": 0.33255
}

Semantic roles & 50–950 ramp

primary
#7FA85A
secondary
#B09EC0
accent
#61C797
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120C
muted
#7F817D

Preview Lab

Preview with #7FA85A

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

Preview Lab → · Contrast checker → · Palette generator →

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