#7FA337#7FA337

#7FA337 is a light, vivid yellow-green. Relative luminance 0.310; OKLCH L 66.7% C 0.141 H 125.8°. Best body text is #000000 at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#7FA337
RGBrgb(127, 163, 55)
HSLhsl(80, 50%, 43%)
HSVhsv(80, 66%, 64%)
CMYKcmyk(22.1%, 0%, 66.3%, 36.1%)
CIE-LABlab(62.49, -28.85, 50.17)
CIE-LCHlch(62.49, 57.87, 119.90°)
OKLaboklab(66.68% -0.0826 0.1143)
OKLCHoklch(66.68% 0.141 125.8)
XYZxyz(22.5393, 30.9819, 8.4063)
Luminance0.3098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA337 #5B37A3
analogous
#A39137 #7FA337 #49A337
triadic
#7FA337 #377FA3 #A3377F
tetradic
#7FA337 #37A391 #5B37A3 #A33749
square
#7FA337 #37A391 #5B37A3 #A33749
split-complementary
#7FA337 #3749A3 #9137A3
monochromatic
#384718 #5B7528 #7FA337 #9FC552 #B8D480

Accessibility & contrast

On white

2.92
#7FA337 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.20
#7FA337 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA337
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA337#FFFFFF#000000##000000
##7FA3371.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9829
Deuteranopia (green-blind)
#A7973F
Tritanopia (blue-blind)
#849B8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7fa337;
/* rgb */ color: rgb(127, 163, 55);
/* oklch */ color: oklch(66.7% 0.141 125.8);
Tailwind
colors: {
  custom: {
    50: '#a7be73',
    500: '#7fa337',
    950: '#000000',
  },
}
SCSS
$custom: #7fa337;
$custom-light: #a7be73;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa337",
  "rgb": {
    "r": 127,
    "g": 163,
    "b": 55
  },
  "hsl": {
    "h": 80,
    "s": 49.541,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66681,
    "c": 0.14102,
    "h": 125.8
  },
  "luminance": 0.30982
}

Semantic roles & 50–950 ramp

primary
#7FA337
secondary
#8F78BE
accent
#4FD97D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7FA337

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

Preview Lab → · Contrast checker → · Palette generator →

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