#7FAA27#7FAA27

#7FAA27 is a light, vivid yellow-green. Relative luminance 0.334; OKLCH L 68.3% C 0.160 H 126.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#7FAA27
RGBrgb(127, 170, 39)
HSLhsl(80, 63%, 41%)
HSVhsv(80, 77%, 67%)
CMYKcmyk(25.3%, 0%, 77.1%, 33.3%)
CIE-LABlab(64.49, -33.15, 58.16)
CIE-LCHlch(64.49, 66.95, 119.68°)
OKLaboklab(68.27% -0.0957 0.1286)
OKLCHoklch(68.27% 0.16 126.6)
XYZxyz(23.4934, 33.4075, 7.1296)
Luminance0.3341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAA27 #5227AA
analogous
#AA9327 #7FAA27 #3DAA27
triadic
#7FAA27 #277FAA #AA277F
tetradic
#7FAA27 #27AA93 #5227AA #AA273D
square
#7FAA27 #27AA93 #5227AA #AA273D
split-complementary
#7FAA27 #273DAA #9327AA
monochromatic
#354610 #5A781C #7FAA27 #A1D23C #B9DE6E

Accessibility & contrast

On white

2.73
#7FAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#7FAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FAA27
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FAA27#FFFFFF#000000##000000
##7FAA271.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E04
Deuteranopia (green-blind)
#AD9C34
Tritanopia (blue-blind)
#84A291
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7faa27;
/* rgb */ color: rgb(127, 170, 39);
/* oklch */ color: oklch(68.3% 0.160 126.6);
Tailwind
colors: {
  custom: {
    50: '#a8c36c',
    500: '#7faa27',
    950: '#000000',
  },
}
SCSS
$custom: #7faa27;
$custom-light: #a8c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#7faa27",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 79.695,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68266,
    "c": 0.16033,
    "h": 126.6
  },
  "luminance": 0.33408
}

Semantic roles & 50–950 ramp

primary
#7FAA27
secondary
#8769C4
accent
#42E678
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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