#7FA128#7FA128

#7FA128 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.1% C 0.149 H 124.4°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#7FA128
RGBrgb(127, 161, 40)
HSLhsl(77, 60%, 39%)
HSVhsv(77, 75%, 63%)
CMYKcmyk(21.1%, 0%, 75.2%, 36.9%)
CIE-LABlab(61.79, -28.85, 55.26)
CIE-LCHlch(61.79, 62.34, 117.57°)
OKLaboklab(66.08% -0.0839 0.1227)
OKLCHoklch(66.08% 0.149 124.4)
XYZxyz(21.8805, 30.1548, 6.6748)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA128 #4A28A1
analogous
#A18728 #7FA128 #42A128
triadic
#7FA128 #287FA1 #A1287F
tetradic
#7FA128 #28A187 #4A28A1 #A12842
square
#7FA128 #28A187 #4A28A1 #A12842
split-complementary
#7FA128 #2842A1 #8728A1
monochromatic
#323F10 #58701C #7FA128 #A4CE39 #BADA6A

Accessibility & contrast

On white

2.99
#7FA128 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#7FA128 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA128
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA128#FFFFFF#000000##000000
##7FA1281.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa128;
/* rgb */ color: rgb(127, 161, 40);
/* oklch */ color: oklch(66.1% 0.149 124.4);
Tailwind
colors: {
  custom: {
    50: '#a8bd6b',
    500: '#7fa128',
    950: '#000000',
  },
}
SCSS
$custom: #7fa128;
$custom-light: #a8bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa128",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 40
  },
  "hsl": {
    "h": 76.86,
    "s": 60.199,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66078,
    "c": 0.14864,
    "h": 124.4
  },
  "luminance": 0.30155
}

Semantic roles & 50–950 ramp

primary
#7FA128
secondary
#7E65C0
accent
#44E371
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA128

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

Preview Lab → · Contrast checker → · Palette generator →

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