#7FA850#7FA850

#7FA850 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.2% C 0.126 H 129.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7FA850
RGBrgb(127, 168, 80)
HSLhsl(88, 35%, 49%)
HSVhsv(88, 52%, 66%)
CMYKcmyk(24.4%, 0%, 52.4%, 34.1%)
CIE-LABlab(64.24, -28.94, 40.62)
CIE-LCHlch(64.24, 49.88, 125.47°)
OKLaboklab(68.17% -0.0806 0.0966)
OKLCHoklch(68.17% 0.126 129.8)
XYZxyz(24.2028, 33.0960, 12.7009)
Luminance0.3310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA850 #7950A8
analogous
#A8A550 #7FA850 #53A850
triadic
#7FA850 #507FA8 #A8507F
tetradic
#7FA850 #50A8A5 #7950A8 #A85053
square
#7FA850 #50A8A5 #7950A8 #A85053
split-complementary
#7FA850 #5053A8 #A550A8
monochromatic
#405529 #607F3C #7FA850 #9DBE77 #BBD2A0

Accessibility & contrast

On white

2.76
#7FA850 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7FA850 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA850
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA850#FFFFFF#000000##000000
##7FA8501.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E48
Deuteranopia (green-blind)
#A99B56
Tritanopia (blue-blind)
#82A294
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa850;
/* rgb */ color: rgb(127, 168, 80);
/* oklch */ color: oklch(68.2% 0.126 129.8);
Tailwind
colors: {
  custom: {
    50: '#a6c283',
    500: '#7fa850',
    950: '#000000',
  },
}
SCSS
$custom: #7fa850;
$custom-light: #a6c283;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa850",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 80
  },
  "hsl": {
    "h": 87.955,
    "s": 35.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.68174,
    "c": 0.12582,
    "h": 129.8
  },
  "luminance": 0.33096
}

Semantic roles & 50–950 ramp

primary
#7FA850
secondary
#A895BF
accent
#5CCC90
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FA850

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

Preview Lab → · Contrast checker → · Palette generator →

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