#7FA856#7FA856

#7FA856 is a light, moderate yellow-green. Relative luminance 0.332; OKLCH L 68.3% C 0.120 H 130.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#7FA856
RGBrgb(127, 168, 86)
HSLhsl(90, 32%, 50%)
HSVhsv(90, 49%, 66%)
CMYKcmyk(24.4%, 0%, 48.8%, 34.1%)
CIE-LABlab(64.31, -28.25, 37.72)
CIE-LCHlch(64.31, 47.12, 126.84°)
OKLaboklab(68.26% -0.0783 0.0906)
OKLCHoklch(68.26% 0.12 130.8)
XYZxyz(24.4344, 33.1886, 13.9210)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA856 #7F56A8
analogous
#A8A856 #7FA856 #56A856
triadic
#7FA856 #567FA8 #A8567F
tetradic
#7FA856 #56A8A8 #7F56A8 #A85656
square
#7FA856 #56A8A8 #7F56A8 #A85656
split-complementary
#7FA856 #5656A8 #A856A8
monochromatic
#42572D #608041 #7FA856 #9EBD7E #BCD2A7

Accessibility & contrast

On white

2.75
#7FA856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#7FA856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA856
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA856#FFFFFF#000000##000000
##7FA8561.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E4F
Deuteranopia (green-blind)
#A89B5B
Tritanopia (blue-blind)
#81A295
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa856;
/* rgb */ color: rgb(127, 168, 86);
/* oklch */ color: oklch(68.3% 0.120 130.8);
Tailwind
colors: {
  custom: {
    50: '#a6c287',
    500: '#7fa856',
    950: '#000000',
  },
}
SCSS
$custom: #7fa856;
$custom-light: #a6c287;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa856",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 86
  },
  "hsl": {
    "h": 90,
    "s": 32.283,
    "l": 49.804
  },
  "oklch": {
    "l": 0.68259,
    "c": 0.11976,
    "h": 130.8
  },
  "luminance": 0.33189
}

Semantic roles & 50–950 ramp

primary
#7FA856
secondary
#AD9ABF
accent
#5FC894
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA856

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

Preview Lab → · Contrast checker → · Palette generator →

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