#7FAB26#7FAB26

#7FAB26 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.5% C 0.162 H 126.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#7FAB26
RGBrgb(127, 171, 38)
HSLhsl(80, 64%, 41%)
HSVhsv(80, 78%, 67%)
CMYKcmyk(25.7%, 0%, 77.8%, 32.9%)
CIE-LABlab(64.79, -33.66, 58.76)
CIE-LCHlch(64.79, 67.72, 119.80°)
OKLaboklab(68.5% -0.0972 0.1297)
OKLCHoklch(68.5% 0.162 126.8)
XYZxyz(23.6653, 33.7773, 7.1062)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB26 #5226AB
analogous
#AB9426 #7FAB26 #3CAB26
triadic
#7FAB26 #267FAB #AB267F
tetradic
#7FAB26 #26AB94 #5226AB #AB263C
square
#7FAB26 #26AB94 #5226AB #AB263C
split-complementary
#7FAB26 #263CAB #9426AB
monochromatic
#354710 #5A791B #7FAB26 #A1D33B #B9DF6D

Accessibility & contrast

On white

2.71
#7FAB26 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#7FAB26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAB26
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAB26#FFFFFF#000000##000000
##7FAB261.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F00
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#84A392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fab26;
/* rgb */ color: rgb(127, 171, 38);
/* oklch */ color: oklch(68.5% 0.162 126.8);
Tailwind
colors: {
  custom: {
    50: '#a8c46c',
    500: '#7fab26',
    950: '#000000',
  },
}
SCSS
$custom: #7fab26;
$custom-light: #a8c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab26",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 38
  },
  "hsl": {
    "h": 79.85,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68504,
    "c": 0.16209,
    "h": 126.8
  },
  "luminance": 0.33778
}

Semantic roles & 50–950 ramp

primary
#7FAB26
secondary
#8768C5
accent
#41E778
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FAB26

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

Preview Lab → · Contrast checker → · Palette generator →

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