#7FA027#7FA027

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

Color values

HEX#7FA027
RGBrgb(127, 160, 39)
HSLhsl(76, 61%, 39%)
HSVhsv(76, 76%, 63%)
CMYKcmyk(20.6%, 0%, 75.6%, 37.3%)
CIE-LABlab(61.48, -28.43, 55.31)
CIE-LCHlch(61.48, 62.19, 117.20°)
OKLaboklab(65.83% -0.0828 0.1226)
OKLCHoklch(65.83% 0.148 124)
XYZxyz(21.6896, 29.7999, 6.5283)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA027 #4827A0
analogous
#A08527 #7FA027 #42A027
triadic
#7FA027 #277FA0 #A0277F
tetradic
#7FA027 #27A085 #4827A0 #A02742
square
#7FA027 #27A085 #4827A0 #A02742
split-complementary
#7FA027 #2742A0 #8527A0
monochromatic
#313E0F #586F1B #7FA027 #A5CE36 #BBDA67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA027#FFFFFF#000000##000000
##7FA0271.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)
#A9950C
Deuteranopia (green-blind)
#A59432
Tritanopia (blue-blind)
#859889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa027;
/* rgb */ color: rgb(127, 160, 39);
/* oklch */ color: oklch(65.8% 0.148 124.0);
Tailwind
colors: {
  custom: {
    50: '#a8bc6b',
    500: '#7fa027',
    950: '#000000',
  },
}
SCSS
$custom: #7fa027;
$custom-light: #a8bc6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa027",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 76.364,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65828,
    "c": 0.14799,
    "h": 124
  },
  "luminance": 0.298
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7FA027

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

Preview Lab → · Contrast checker → · Palette generator →

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