#7FAC2E#7FAC2E

#7FAC2E is a light, vivid yellow-green. Relative luminance 0.342; OKLCH L 68.8% C 0.159 H 127.5°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#7FAC2E
RGBrgb(127, 172, 46)
HSLhsl(81, 58%, 43%)
HSVhsv(81, 73%, 67%)
CMYKcmyk(26.2%, 0%, 73.3%, 32.5%)
CIE-LABlab(65.13, -33.69, 56.38)
CIE-LCHlch(65.13, 65.68, 120.86°)
OKLaboklab(68.8% -0.0966 0.126)
OKLCHoklch(68.8% 0.159 127.5)
XYZxyz(23.9981, 34.2138, 7.9238)
Luminance0.3421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAC2E #5B2EAC
analogous
#AC9A2E #7FAC2E #40AC2E
triadic
#7FAC2E #2E7FAC #AC2E7F
tetradic
#7FAC2E #2EAC9A #5B2EAC #AC2E40
square
#7FAC2E #2EAC9A #5B2EAC #AC2E40
split-complementary
#7FAC2E #2E40AC #9A2EAC
monochromatic
#384B14 #5B7C21 #7FAC2E #9FCE49 #B8DB79

Accessibility & contrast

On white

2.68
#7FAC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.84
#7FAC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAC2E
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAC2E#FFFFFF#000000##000000
##7FAC2E1.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A016
Deuteranopia (green-blind)
#AF9D3A
Tritanopia (blue-blind)
#84A494
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #7fac2e;
/* rgb */ color: rgb(127, 172, 46);
/* oklch */ color: oklch(68.8% 0.159 127.5);
Tailwind
colors: {
  custom: {
    50: '#a8c56f',
    500: '#7fac2e',
    950: '#000000',
  },
}
SCSS
$custom: #7fac2e;
$custom-light: #a8c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fac2e",
  "rgb": {
    "r": 127,
    "g": 172,
    "b": 46
  },
  "hsl": {
    "h": 81.429,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.688,
    "c": 0.1588,
    "h": 127.5
  },
  "luminance": 0.34214
}

Semantic roles & 50–950 ramp

primary
#7FAC2E
secondary
#8F72C3
accent
#47E17E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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