#7FA937#7FA937

#7FA937 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 68.1% C 0.149 H 127.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#7FA937
RGBrgb(127, 169, 55)
HSLhsl(82, 51%, 44%)
HSVhsv(82, 67%, 66%)
CMYKcmyk(24.9%, 0%, 67.5%, 33.7%)
CIE-LABlab(64.29, -31.69, 52.06)
CIE-LCHlch(64.29, 60.95, 121.33°)
OKLaboklab(68.14% -0.0904 0.1183)
OKLCHoklch(68.14% 0.149 127.4)
XYZxyz(23.6300, 33.1634, 8.7699)
Luminance0.3316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA937 #6137A9
analogous
#A99A37 #7FA937 #46A937
triadic
#7FA937 #377FA9 #A9377F
tetradic
#7FA937 #37A99A #6137A9 #A93746
square
#7FA937 #37A99A #6137A9 #A93746
split-complementary
#7FA937 #3746A9 #9A37A9
monochromatic
#3A4D19 #5C7B28 #7FA937 #9EC855 #B8D784

Accessibility & contrast

On white

2.75
#7FA937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#7FA937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA937
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA937#FFFFFF#000000##000000
##7FA9371.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E27
Deuteranopia (green-blind)
#AC9B40
Tritanopia (blue-blind)
#84A192
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7fa937;
/* rgb */ color: rgb(127, 169, 55);
/* oklch */ color: oklch(68.1% 0.149 127.4);
Tailwind
colors: {
  custom: {
    50: '#a7c274',
    500: '#7fa937',
    950: '#000000',
  },
}
SCSS
$custom: #7fa937;
$custom-light: #a7c274;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa937",
  "rgb": {
    "r": 127,
    "g": 169,
    "b": 55
  },
  "hsl": {
    "h": 82.105,
    "s": 50.893,
    "l": 43.922
  },
  "oklch": {
    "l": 0.68139,
    "c": 0.14889,
    "h": 127.4
  },
  "luminance": 0.33164
}

Semantic roles & 50–950 ramp

primary
#7FA937
secondary
#957BC0
accent
#4DDA81
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7FA937

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

Preview Lab → · Contrast checker → · Palette generator →

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