#7EB138#7EB138

#7EB138 is a light, vivid yellow-green. Relative luminance 0.362; OKLCH L 70.0% C 0.159 H 129.5°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#7EB138
RGBrgb(126, 177, 56)
HSLhsl(85, 52%, 46%)
HSVhsv(85, 68%, 69%)
CMYKcmyk(28.8%, 0%, 68.4%, 30.6%)
CIE-LABlab(66.65, -35.70, 54.09)
CIE-LCHlch(66.65, 64.81, 123.42°)
OKLaboklab(70.04% -0.1012 0.1227)
OKLCHoklch(70.04% 0.159 129.5)
XYZxyz(25.0400, 36.1647, 9.4018)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB138 #6B38B1
analogous
#B1A738 #7EB138 #42B138
triadic
#7EB138 #387EB1 #B1387E
tetradic
#7EB138 #38B1A7 #6B38B1 #B13842
square
#7EB138 #38B1A7 #6B38B1 #B13842
split-complementary
#7EB138 #3842B1 #A738B1
monochromatic
#3C541B #5D8329 #7EB138 #9CCB5B #B8DA8A

Accessibility & contrast

On white

2.55
#7EB138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#7EB138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB138
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB138#FFFFFF#000000##000000
##7EB1381.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A426
Deuteranopia (green-blind)
#B2A142
Tritanopia (blue-blind)
#81A999
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb138;
/* rgb */ color: rgb(126, 177, 56);
/* oklch */ color: oklch(70.0% 0.159 129.5);
Tailwind
colors: {
  custom: {
    50: '#a7c875',
    500: '#7eb138',
    950: '#000000',
  },
}
SCSS
$custom: #7eb138;
$custom-light: #a7c875;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb138",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 56
  },
  "hsl": {
    "h": 85.289,
    "s": 51.931,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70035,
    "c": 0.15911,
    "h": 129.5
  },
  "luminance": 0.36165
}

Semantic roles & 50–950 ramp

primary
#7EB138
secondary
#9D81C4
accent
#4CDB89
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB138

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

Preview Lab → · Contrast checker → · Palette generator →

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