#7FB937#7FB937

#7FB937 is a light, vivid yellow-green. Relative luminance 0.395; OKLCH L 72.0% C 0.170 H 130.6°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#7FB937
RGBrgb(127, 185, 55)
HSLhsl(87, 54%, 47%)
HSVhsv(87, 70%, 73%)
CMYKcmyk(31.4%, 0%, 70.3%, 27.5%)
CIE-LABlab(69.10, -38.98, 57.02)
CIE-LCHlch(69.10, 69.08, 124.36°)
OKLaboklab(72.05% -0.1103 0.1287)
OKLCHoklch(72.05% 0.17 130.6)
XYZxyz(26.7907, 39.4849, 9.8235)
Luminance0.3949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB937 #7137B9
analogous
#B9B237 #7FB937 #3EB937
triadic
#7FB937 #377FB9 #B9377F
tetradic
#7FB937 #37B9B2 #7137B9 #B9373E
square
#7FB937 #37B9B2 #7137B9 #B9373E
split-complementary
#7FB937 #373EB9 #B237B9
monochromatic
#3E5B1B #5F8A29 #7FB937 #9DCF5E #BADD8D

Accessibility & contrast

On white

2.36
#7FB937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#7FB937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB937
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB937#FFFFFF#000000##000000
##7FB9371.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB22
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#82B19F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7fb937;
/* rgb */ color: rgb(127, 185, 55);
/* oklch */ color: oklch(72.0% 0.170 130.6);
Tailwind
colors: {
  custom: {
    50: '#a8ce76',
    500: '#7fb937',
    950: '#000000',
  },
}
SCSS
$custom: #7fb937;
$custom-light: #a8ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb937",
  "rgb": {
    "r": 127,
    "g": 185,
    "b": 55
  },
  "hsl": {
    "h": 86.769,
    "s": 54.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.72045,
    "c": 0.16955,
    "h": 130.6
  },
  "luminance": 0.39486
}

Semantic roles & 50–950 ramp

primary
#7FB937
secondary
#A284C8
accent
#4ADE8C
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB937

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

Preview Lab → · Contrast checker → · Palette generator →

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