#7FA84E#7FA84E

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

Color values

HEX#7FA84E
RGBrgb(127, 168, 78)
HSLhsl(87, 37%, 48%)
HSVhsv(87, 54%, 66%)
CMYKcmyk(24.4%, 0%, 53.6%, 34.1%)
CIE-LABlab(64.22, -29.16, 41.57)
CIE-LCHlch(64.22, 50.78, 125.04°)
OKLaboklab(68.15% -0.0814 0.0985)
OKLCHoklch(68.15% 0.128 129.6)
XYZxyz(24.1300, 33.0668, 12.3175)
Luminance0.3307 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA84E #774EA8
analogous
#A8A44E #7FA84E #52A84E
triadic
#7FA84E #4E7FA8 #A84E7F
tetradic
#7FA84E #4EA8A4 #774EA8 #A84E52
square
#7FA84E #4EA8A4 #774EA8 #A84E52
split-complementary
#7FA84E #4E52A8 #A44EA8
monochromatic
#405427 #5F7E3B #7FA84E #9DBF75 #BBD29E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA84E#FFFFFF#000000##000000
##7FA84E1.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)
#AF9E46
Deuteranopia (green-blind)
#A99B54
Tritanopia (blue-blind)
#82A294
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa84e;
/* rgb */ color: rgb(127, 168, 78);
/* oklch */ color: oklch(68.1% 0.128 129.6);
Tailwind
colors: {
  custom: {
    50: '#a6c282',
    500: '#7fa84e',
    950: '#000000',
  },
}
SCSS
$custom: #7fa84e;
$custom-light: #a6c282;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa84e",
  "rgb": {
    "r": 127,
    "g": 168,
    "b": 78
  },
  "hsl": {
    "h": 87.333,
    "s": 36.585,
    "l": 48.235
  },
  "oklch": {
    "l": 0.68148,
    "c": 0.12778,
    "h": 129.6
  },
  "luminance": 0.33067
}

Semantic roles & 50–950 ramp

primary
#7FA84E
secondary
#A793BF
accent
#5BCD8F
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#10120B
muted
#7F817C

Preview Lab

Preview with #7FA84E

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

Preview Lab → · Contrast checker → · Palette generator →

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