#7FA047#7FA047

#7FA047 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.1% C 0.123 H 126.5°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#7FA047
RGBrgb(127, 160, 71)
HSLhsl(82, 39%, 45%)
HSVhsv(82, 56%, 63%)
CMYKcmyk(20.6%, 0%, 55.6%, 37.3%)
CIE-LABlab(61.75, -26.00, 42.08)
CIE-LCHlch(61.75, 49.46, 121.71°)
OKLaboklab(66.13% -0.0732 0.099)
OKLCHoklch(66.13% 0.123 126.5)
XYZxyz(22.4605, 30.1083, 10.5882)
Luminance0.3011 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA047 #6847A0
analogous
#A09447 #7FA047 #53A047
triadic
#7FA047 #477FA0 #A0477F
tetradic
#7FA047 #47A094 #6847A0 #A04753
square
#7FA047 #47A094 #6847A0 #A04753
split-complementary
#7FA047 #4753A0 #9447A0
monochromatic
#3C4B21 #5D7634 #7FA047 #9DBC68 #B8CF93

Accessibility & contrast

On white

2.99
#7FA047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#7FA047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA047
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA047#FFFFFF#000000##000000
##7FA0471.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8963E
Deuteranopia (green-blind)
#A3954D
Tritanopia (blue-blind)
#83998C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa047;
/* rgb */ color: rgb(127, 160, 71);
/* oklch */ color: oklch(66.1% 0.123 126.5);
Tailwind
colors: {
  custom: {
    50: '#a6bc7d',
    500: '#7fa047',
    950: '#000000',
  },
}
SCSS
$custom: #7fa047;
$custom-light: #a6bc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa047",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 71
  },
  "hsl": {
    "h": 82.247,
    "s": 38.528,
    "l": 45.294
  },
  "oklch": {
    "l": 0.66129,
    "c": 0.12309,
    "h": 126.5
  },
  "luminance": 0.30109
}

Semantic roles & 50–950 ramp

primary
#7FA047
secondary
#9B88BB
accent
#59CE85
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA047

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

Preview Lab → · Contrast checker → · Palette generator →

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