#7FAB27#7FAB27

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

Color values

HEX#7FAB27
RGBrgb(127, 171, 39)
HSLhsl(80, 63%, 41%)
HSVhsv(80, 77%, 67%)
CMYKcmyk(25.7%, 0%, 77.2%, 32.9%)
CIE-LABlab(64.79, -33.61, 58.45)
CIE-LCHlch(64.79, 67.42, 119.90°)
OKLaboklab(68.51% -0.097 0.1292)
OKLCHoklch(68.51% 0.162 126.9)
XYZxyz(23.6816, 33.7839, 7.1923)
Luminance0.3378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAB27 #5327AB
analogous
#AB9527 #7FAB27 #3DAB27
triadic
#7FAB27 #277FAB #AB277F
tetradic
#7FAB27 #27AB95 #5327AB #AB273D
square
#7FAB27 #27AB95 #5327AB #AB273D
split-complementary
#7FAB27 #273DAB #9527AB
monochromatic
#354710 #5A791C #7FAB27 #A1D33D #B9DE6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAB27#FFFFFF#000000##000000
##7FAB271.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)
#B49F03
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#84A392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7fab27;
/* rgb */ color: rgb(127, 171, 39);
/* oklch */ color: oklch(68.5% 0.162 126.9);
Tailwind
colors: {
  custom: {
    50: '#a8c46c',
    500: '#7fab27',
    950: '#000000',
  },
}
SCSS
$custom: #7fab27;
$custom-light: #a8c46c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fab27",
  "rgb": {
    "r": 127,
    "g": 171,
    "b": 39
  },
  "hsl": {
    "h": 80,
    "s": 62.857,
    "l": 41.176
  },
  "oklch": {
    "l": 0.6851,
    "c": 0.16157,
    "h": 126.9
  },
  "luminance": 0.33784
}

Semantic roles & 50–950 ramp

primary
#7FAB27
secondary
#8869C5
accent
#42E679
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FAB27

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

Preview Lab → · Contrast checker → · Palette generator →

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