#7FA031#7FA031

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

Color values

HEX#7FA031
RGBrgb(127, 160, 49)
HSLhsl(78, 53%, 41%)
HSVhsv(78, 69%, 63%)
CMYKcmyk(20.6%, 0%, 69.4%, 37.3%)
CIE-LABlab(61.55, -27.83, 51.65)
CIE-LCHlch(61.55, 58.67, 118.31°)
OKLaboklab(65.9% -0.0803 0.1166)
OKLCHoklch(65.9% 0.142 124.6)
XYZxyz(21.8777, 29.8752, 7.5190)
Luminance0.2988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA031 #5231A0
analogous
#A08931 #7FA031 #47A031
triadic
#7FA031 #317FA0 #A0317F
tetradic
#7FA031 #31A089 #5231A0 #A03147
square
#7FA031 #31A089 #5231A0 #A03147
split-complementary
#7FA031 #3147A0 #8931A0
monochromatic
#354214 #5A7123 #7FA031 #A1C747 #B9D576

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7FA031#FFFFFF#000000##000000
##7FA0311.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)
#A99620
Deuteranopia (green-blind)
#A4943A
Tritanopia (blue-blind)
#85988A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7fa031;
/* rgb */ color: rgb(127, 160, 49);
/* oklch */ color: oklch(65.9% 0.142 124.6);
Tailwind
colors: {
  custom: {
    50: '#a7bc70',
    500: '#7fa031',
    950: '#000000',
  },
}
SCSS
$custom: #7fa031;
$custom-light: #a7bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa031",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 49
  },
  "hsl": {
    "h": 77.838,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65901,
    "c": 0.14154,
    "h": 124.6
  },
  "luminance": 0.29875
}

Semantic roles & 50–950 ramp

primary
#7FA031
secondary
#8770BD
accent
#4BDD76
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA031

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

Preview Lab → · Contrast checker → · Palette generator →

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