#7FA028#7FA028

#7FA028 is a light, vivid yellow-green. Relative luminance 0.298; OKLCH L 65.8% C 0.147 H 124.1°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7FA028
RGBrgb(127, 160, 40)
HSLhsl(77, 60%, 39%)
HSVhsv(77, 75%, 63%)
CMYKcmyk(20.6%, 0%, 75%, 37.3%)
CIE-LABlab(61.49, -28.37, 54.97)
CIE-LCHlch(61.49, 61.86, 117.30°)
OKLaboklab(65.83% -0.0826 0.1221)
OKLCHoklch(65.83% 0.147 124.1)
XYZxyz(21.7064, 29.8067, 6.6168)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA028 #4928A0
analogous
#A08528 #7FA028 #43A028
triadic
#7FA028 #287FA0 #A0287F
tetradic
#7FA028 #28A085 #4928A0 #A02843
square
#7FA028 #28A085 #4928A0 #A02843
split-complementary
#7FA028 #2843A0 #8528A0
monochromatic
#313E10 #586F1C #7FA028 #A4CD38 #BBD969

Accessibility & contrast

On white

3.02
#7FA028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#7FA028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA028
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA028#FFFFFF#000000##000000
##7FA0281.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9960F
Deuteranopia (green-blind)
#A59433
Tritanopia (blue-blind)
#859889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa028;
/* rgb */ color: rgb(127, 160, 40);
/* oklch */ color: oklch(65.8% 0.147 124.1);
Tailwind
colors: {
  custom: {
    50: '#a8bc6b',
    500: '#7fa028',
    950: '#000000',
  },
}
SCSS
$custom: #7fa028;
$custom-light: #a8bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa028",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 76.5,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65834,
    "c": 0.1474,
    "h": 124.1
  },
  "luminance": 0.29807
}

Semantic roles & 50–950 ramp

primary
#7FA028
secondary
#7D64C0
accent
#45E370
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA028

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

Preview Lab → · Contrast checker → · Palette generator →

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