#7FA037#7FA037

#7FA037 is a light, vivid yellow-green. Relative luminance 0.299; OKLCH L 66.0% C 0.137 H 125.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#7FA037
RGBrgb(127, 160, 55)
HSLhsl(79, 49%, 42%)
HSVhsv(79, 66%, 63%)
CMYKcmyk(20.6%, 0%, 65.6%, 37.3%)
CIE-LABlab(61.59, -27.40, 49.22)
CIE-LCHlch(61.59, 56.33, 119.10°)
OKLaboklab(65.95% -0.0786 0.1123)
OKLCHoklch(65.95% 0.137 125)
XYZxyz(22.0129, 29.9292, 8.2309)
Luminance0.2993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA037 #5837A0
analogous
#A08D37 #7FA037 #4BA037
triadic
#7FA037 #377FA0 #A0377F
tetradic
#7FA037 #37A08D #5837A0 #A0374B
square
#7FA037 #37A08D #5837A0 #A0374B
split-complementary
#7FA037 #374BA0 #8D37A0
monochromatic
#374518 #5B7227 #7FA037 #9FC351 #B8D37F

Accessibility & contrast

On white

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

On black

6.99
#7FA037 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7FA037
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA037#FFFFFF#000000##000000
##7FA0371.003.016.996.99
#FFFFFF3.011.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7fa037;
/* rgb */ color: rgb(127, 160, 55);
/* oklch */ color: oklch(66.0% 0.137 125.0);
Tailwind
colors: {
  custom: {
    50: '#a7bc73',
    500: '#7fa037',
    950: '#000000',
  },
}
SCSS
$custom: #7fa037;
$custom-light: #a7bc73;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa037",
  "rgb": {
    "r": 127,
    "g": 160,
    "b": 55
  },
  "hsl": {
    "h": 78.857,
    "s": 48.837,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65954,
    "c": 0.13707,
    "h": 125
  },
  "luminance": 0.29929
}

Semantic roles & 50–950 ramp

primary
#7FA037
secondary
#8C77BC
accent
#4FD87A
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA037

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

Preview Lab → · Contrast checker → · Palette generator →

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