#7FA84C#7FA84C

#7FA84C is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.1% C 0.130 H 129.3°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7FA84C
RGBrgb(127, 168, 76)
HSLhsl(87, 38%, 48%)
HSVhsv(87, 55%, 66%)
CMYKcmyk(24.4%, 0%, 54.8%, 34.1%)
CIE-LABlab(64.19, -29.37, 42.52)
CIE-LCHlch(64.19, 51.67, 124.63°)
OKLaboklab(68.12% -0.0821 0.1004)
OKLCHoklch(68.12% 0.13 129.3)
XYZxyz(24.0593, 33.0386, 11.9456)
Luminance0.3304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA84C #754CA8
analogous
#A8A34C #7FA84C #51A84C
triadic
#7FA84C #4C7FA8 #A84C7F
tetradic
#7FA84C #4CA8A3 #754CA8 #A84C51
square
#7FA84C #4CA8A3 #754CA8 #A84C51
split-complementary
#7FA84C #4C51A8 #A34CA8
monochromatic
#3F5426 #5F7E39 #7FA84C #9DBF72 #BAD29C

Accessibility & contrast

On white

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

On black

7.61
#7FA84C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA84C
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA84C#FFFFFF#000000##000000
##7FA84C1.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9D43
Deuteranopia (green-blind)
#A99B52
Tritanopia (blue-blind)
#82A193
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa84c;
/* rgb */ color: rgb(127, 168, 76);
/* oklch */ color: oklch(68.1% 0.130 129.3);
Tailwind
colors: {
  custom: {
    50: '#a6c281',
    500: '#7fa84c',
    950: '#000000',
  },
}
SCSS
$custom: #7fa84c;
$custom-light: #a6c281;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa84c",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 76
  },
  "hsl": {
    "h": 86.739,
    "s": 37.705,
    "l": 47.843
  },
  "oklch": {
    "l": 0.68122,
    "c": 0.12971,
    "h": 129.3
  },
  "luminance": 0.33039
}

Semantic roles & 50–950 ramp

primary
#7FA84C
secondary
#A591BF
accent
#5ACE8E
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120A
muted
#7F817C

Preview Lab

Preview with #7FA84C

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

Preview Lab → · Contrast checker → · Palette generator →

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