#7FA050#7FA050

#7FA050 is a light, moderate yellow-green. Relative luminance 0.302; OKLCH L 66.2% C 0.114 H 127.7°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#7FA050
RGBrgb(127, 160, 80)
HSLhsl(85, 33%, 47%)
HSVhsv(85, 50%, 63%)
CMYKcmyk(20.6%, 0%, 50%, 37.3%)
CIE-LABlab(61.85, -25.04, 37.75)
CIE-LCHlch(61.85, 45.30, 123.56°)
OKLaboklab(66.25% -0.0698 0.0903)
OKLCHoklch(66.25% 0.114 127.7)
XYZxyz(22.7710, 30.2325, 12.2236)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA050 #7150A0
analogous
#A09950 #7FA050 #57A050
triadic
#7FA050 #507FA0 #A0507F
tetradic
#7FA050 #50A099 #7150A0 #A05057
square
#7FA050 #50A099 #7150A0 #A05057
split-complementary
#7FA050 #5057A0 #9950A0
monochromatic
#3E4E27 #5F773C #7FA050 #9DB974 #BACE9D

Accessibility & contrast

On white

2.98
#7FA050 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#7FA050 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA050
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA050#FFFFFF#000000##000000
##7FA0501.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79749
Deuteranopia (green-blind)
#A29555
Tritanopia (blue-blind)
#839A8D
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa050;
/* rgb */ color: rgb(127, 160, 80);
/* oklch */ color: oklch(66.2% 0.114 127.7);
Tailwind
colors: {
  custom: {
    50: '#a6bc83',
    500: '#7fa050',
    950: '#000000',
  },
}
SCSS
$custom: #7fa050;
$custom-light: #a6bc83;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa050",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 80
  },
  "hsl": {
    "h": 84.75,
    "s": 33.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.66249,
    "c": 0.1141,
    "h": 127.7
  },
  "luminance": 0.30233
}

Semantic roles & 50–950 ramp

primary
#7FA050
secondary
#A291BB
accent
#5EC98B
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA050

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

Preview Lab → · Contrast checker → · Palette generator →

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