#7FA127#7FA127

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

Color values

HEX#7FA127
RGBrgb(127, 161, 39)
HSLhsl(77, 61%, 39%)
HSVhsv(77, 76%, 63%)
CMYKcmyk(21.1%, 0%, 75.8%, 36.9%)
CIE-LABlab(61.78, -28.91, 55.60)
CIE-LCHlch(61.78, 62.66, 117.47°)
OKLaboklab(66.07% -0.0841 0.1233)
OKLCHoklch(66.07% 0.149 124.3)
XYZxyz(21.8637, 30.1480, 6.5864)
Luminance0.3015 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA127 #4927A1
analogous
#A18627 #7FA127 #42A127
triadic
#7FA127 #277FA1 #A1277F
tetradic
#7FA127 #27A186 #4927A1 #A12742
square
#7FA127 #27A186 #4927A1 #A12742
split-complementary
#7FA127 #2742A1 #8627A1
monochromatic
#313E0F #58701B #7FA127 #A4CE37 #BBDA68

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA127#FFFFFF#000000##000000
##7FA1271.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)
#AA960B
Deuteranopia (green-blind)
#A69532
Tritanopia (blue-blind)
#85998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa127;
/* rgb */ color: rgb(127, 161, 39);
/* oklch */ color: oklch(66.1% 0.149 124.3);
Tailwind
colors: {
  custom: {
    50: '#a8bd6b',
    500: '#7fa127',
    950: '#000000',
  },
}
SCSS
$custom: #7fa127;
$custom-light: #a8bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa127",
  "rgb": {
    "r": 127,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 76.721,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66071,
    "c": 0.14923,
    "h": 124.3
  },
  "luminance": 0.30148
}

Semantic roles & 50–950 ramp

primary
#7FA127
secondary
#7D63C0
accent
#44E470
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA127

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

Preview Lab → · Contrast checker → · Palette generator →

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