#7FAA28#7FAA28

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

Color values

HEX#7FAA28
RGBrgb(127, 170, 40)
HSLhsl(80, 62%, 41%)
HSVhsv(80, 76%, 67%)
CMYKcmyk(25.3%, 0%, 76.5%, 33.3%)
CIE-LABlab(64.50, -33.10, 57.84)
CIE-LCHlch(64.50, 66.64, 119.78°)
OKLaboklab(68.27% -0.0955 0.1281)
OKLCHoklch(68.27% 0.16 126.7)
XYZxyz(23.5102, 33.4143, 7.2180)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FAA28 #5328AA
analogous
#AA9428 #7FAA28 #3EAA28
triadic
#7FAA28 #287FAA #AA287F
tetradic
#7FAA28 #28AA94 #5328AA #AA283E
square
#7FAA28 #28AA94 #5328AA #AA283E
split-complementary
#7FAA28 #283EAA #9428AA
monochromatic
#354711 #5A781C #7FAA28 #A1D23E #B9DD6F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FAA28#FFFFFF#000000##000000
##7FAA281.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)
#B39E07
Deuteranopia (green-blind)
#AD9C35
Tritanopia (blue-blind)
#84A292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7faa28;
/* rgb */ color: rgb(127, 170, 40);
/* oklch */ color: oklch(68.3% 0.160 126.7);
Tailwind
colors: {
  custom: {
    50: '#a8c36c',
    500: '#7faa28',
    950: '#000000',
  },
}
SCSS
$custom: #7faa28;
$custom-light: #a8c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#7faa28",
  "rgb": {
    "r": 127,
    "g": 170,
    "b": 40
  },
  "hsl": {
    "h": 79.846,
    "s": 61.905,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68272,
    "c": 0.1598,
    "h": 126.7
  },
  "luminance": 0.33415
}

Semantic roles & 50–950 ramp

primary
#7FAA28
secondary
#886AC4
accent
#43E578
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FAA28

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

Preview Lab → · Contrast checker → · Palette generator →

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