#7FB837#7FB837

#7FB837 is a light, vivid yellow-green. Relative luminance 0.391; OKLCH L 71.8% C 0.168 H 130.4°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#7FB837
RGBrgb(127, 184, 55)
HSLhsl(87, 54%, 47%)
HSVhsv(87, 70%, 72%)
CMYKcmyk(31%, 0%, 70.1%, 27.8%)
CIE-LABlab(68.80, -38.54, 56.72)
CIE-LCHlch(68.80, 68.57, 124.20°)
OKLaboklab(71.8% -0.1091 0.1281)
OKLCHoklch(71.8% 0.168 130.4)
XYZxyz(26.5823, 39.0680, 9.7540)
Luminance0.3907 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FB837 #7037B8
analogous
#B8B137 #7FB837 #3EB837
triadic
#7FB837 #377FB8 #B8377F
tetradic
#7FB837 #37B8B1 #7037B8 #B8373E
square
#7FB837 #37B8B1 #7037B8 #B8373E
split-complementary
#7FB837 #373EB8 #B137B8
monochromatic
#3E5A1B #5E8929 #7FB837 #9DCF5D #B9DD8D

Accessibility & contrast

On white

2.38
#7FB837 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#7FB837 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FB837
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FB837#FFFFFF#000000##000000
##7FB8371.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB22
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#82B09E
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7fb837;
/* rgb */ color: rgb(127, 184, 55);
/* oklch */ color: oklch(71.8% 0.168 130.4);
Tailwind
colors: {
  custom: {
    50: '#a8cd75',
    500: '#7fb837',
    950: '#000000',
  },
}
SCSS
$custom: #7fb837;
$custom-light: #a8cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#7fb837",
  "rgb": {
    "r": 127,
    "g": 184,
    "b": 55
  },
  "hsl": {
    "h": 86.512,
    "s": 53.975,
    "l": 46.863
  },
  "oklch": {
    "l": 0.71801,
    "c": 0.16827,
    "h": 130.4
  },
  "luminance": 0.39069
}

Semantic roles & 50–950 ramp

primary
#7FB837
secondary
#A184C7
accent
#4ADD8B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7FB837

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

Preview Lab → · Contrast checker → · Palette generator →

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