#7FA029#7FA029

#7FA029 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#7FA029
RGBrgb(127, 160, 41)
HSLhsl(77, 59%, 39%)
HSVhsv(77, 74%, 63%)
CMYKcmyk(20.6%, 0%, 74.4%, 37.3%)
CIE-LABlab(61.49, -28.32, 54.62)
CIE-LCHlch(61.49, 61.52, 117.40°)
OKLaboklab(65.84% -0.0824 0.1215)
OKLCHoklch(65.84% 0.147 124.1)
XYZxyz(21.7237, 29.8135, 6.7075)
Luminance0.2981 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA029 #4A29A0
analogous
#A08629 #7FA029 #43A029
triadic
#7FA029 #297FA0 #A0297F
tetradic
#7FA029 #29A086 #4A29A0 #A02943
square
#7FA029 #29A086 #4A29A0 #A02943
split-complementary
#7FA029 #2943A0 #8629A0
monochromatic
#323F10 #586F1D #7FA029 #A4CC3A #BAD96A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA029#FFFFFF#000000##000000
##7FA0291.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)
#A99611
Deuteranopia (green-blind)
#A59434
Tritanopia (blue-blind)
#859889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7fa029;
/* rgb */ color: rgb(127, 160, 41);
/* oklch */ color: oklch(65.8% 0.147 124.1);
Tailwind
colors: {
  custom: {
    50: '#a7bc6c',
    500: '#7fa029',
    950: '#000000',
  },
}
SCSS
$custom: #7fa029;
$custom-light: #a7bc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa029",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 41
  },
  "hsl": {
    "h": 76.639,
    "s": 59.204,
    "l": 39.412
  },
  "oklch": {
    "l": 0.65841,
    "c": 0.1468,
    "h": 124.1
  },
  "luminance": 0.29814
}

Semantic roles & 50–950 ramp

primary
#7FA029
secondary
#7E65BF
accent
#45E271
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7FA029

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

Preview Lab → · Contrast checker → · Palette generator →

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