#7FAB2E#7FAB2E

#7FAB2E is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.6% C 0.158 H 127.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7FAB2E
RGBrgb(127, 171, 46)
HSLhsl(81, 58%, 43%)
HSVhsv(81, 73%, 67%)
CMYKcmyk(25.7%, 0%, 73.1%, 32.9%)
CIE-LABlab(64.83, -33.22, 56.09)
CIE-LCHlch(64.83, 65.19, 120.64°)
OKLaboklab(68.56% -0.0954 0.1254)
OKLCHoklch(68.56% 0.158 127.2)
XYZxyz(23.8085, 33.8346, 7.8606)
Luminance0.3383 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB2E #5A2EAB
analogous
#AB992E #7FAB2E #40AB2E
triadic
#7FAB2E #2E7FAB #AB2E7F
tetradic
#7FAB2E #2EAB99 #5A2EAB #AB2E40
square
#7FAB2E #2EAB99 #5A2EAB #AB2E40
split-complementary
#7FAB2E #2E40AB #992EAB
monochromatic
#374B14 #5B7B21 #7FAB2E #9FCE48 #B8DB79

Accessibility & contrast

On white

2.70
#7FAB2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7FAB2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAB2E
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAB2E#FFFFFF#000000##000000
##7FAB2E1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F17
Deuteranopia (green-blind)
#AE9C39
Tritanopia (blue-blind)
#84A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fab2e;
/* rgb */ color: rgb(127, 171, 46);
/* oklch */ color: oklch(68.6% 0.158 127.2);
Tailwind
colors: {
  custom: {
    50: '#a8c46f',
    500: '#7fab2e',
    950: '#000000',
  },
}
SCSS
$custom: #7fab2e;
$custom-light: #a8c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab2e",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 46
  },
  "hsl": {
    "h": 81.12,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68556,
    "c": 0.15755,
    "h": 127.2
  },
  "luminance": 0.33835
}

Semantic roles & 50–950 ramp

primary
#7FAB2E
secondary
#8E72C3
accent
#47E17D
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FAB2E

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

Preview Lab → · Contrast checker → · Palette generator →

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