#7FA034#7FA034

#7FA034 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 65.9% C 0.139 H 124.8°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#7FA034
RGBrgb(127, 160, 52)
HSLhsl(78, 51%, 42%)
HSVhsv(78, 68%, 63%)
CMYKcmyk(20.6%, 0%, 67.5%, 37.3%)
CIE-LABlab(61.57, -27.62, 50.45)
CIE-LCHlch(61.57, 57.52, 118.70°)
OKLaboklab(65.93% -0.0795 0.1145)
OKLCHoklch(65.93% 0.139 124.8)
XYZxyz(21.9432, 29.9014, 7.8636)
Luminance0.2990 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA034 #5534A0
analogous
#A08B34 #7FA034 #49A034
triadic
#7FA034 #347FA0 #A0347F
tetradic
#7FA034 #34A08B #5534A0 #A03449
square
#7FA034 #34A08B #5534A0 #A03449
split-complementary
#7FA034 #3449A0 #8B34A0
monochromatic
#364416 #5A7225 #7FA034 #A0C54C #B9D47A

Accessibility & contrast

On white

3.01
#7FA034 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#7FA034 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA034
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA034#FFFFFF#000000##000000
##7FA0341.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99625
Deuteranopia (green-blind)
#A4943C
Tritanopia (blue-blind)
#85988A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa034;
/* rgb */ color: rgb(127, 160, 52);
/* oklch */ color: oklch(65.9% 0.139 124.8);
Tailwind
colors: {
  custom: {
    50: '#a7bc71',
    500: '#7fa034',
    950: '#000000',
  },
}
SCSS
$custom: #7fa034;
$custom-light: #a7bc71;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa034",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 52
  },
  "hsl": {
    "h": 78.333,
    "s": 50.943,
    "l": 41.569
  },
  "oklch": {
    "l": 0.65927,
    "c": 0.13936,
    "h": 124.8
  },
  "luminance": 0.29902
}

Semantic roles & 50–950 ramp

primary
#7FA034
secondary
#8A73BD
accent
#4DDA78
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA034

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

Preview Lab → · Contrast checker → · Palette generator →

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