#7EA138#7EA138

#7EA138 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.1% C 0.138 H 125.7°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7EA138
RGBrgb(126, 161, 56)
HSLhsl(80, 48%, 43%)
HSVhsv(80, 65%, 63%)
CMYKcmyk(21.7%, 0%, 65.2%, 36.9%)
CIE-LABlab(61.84, -28.21, 49.03)
CIE-LCHlch(61.84, 56.56, 119.92°)
OKLaboklab(66.14% -0.0806 0.1121)
OKLCHoklch(66.14% 0.138 125.7)
XYZxyz(22.0629, 30.2106, 8.4095)
Luminance0.3021 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA138 #5B38A1
analogous
#A18F38 #7EA138 #4AA138
triadic
#7EA138 #387EA1 #A1387E
tetradic
#7EA138 #38A18F #5B38A1 #A1384A
square
#7EA138 #38A18F #5B38A1 #A1384A
split-complementary
#7EA138 #384AA1 #8F38A1
monochromatic
#374618 #5A7428 #7EA138 #9EC353 #B7D380

Accessibility & contrast

On white

2.98
#7EA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7EA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA138
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA138#FFFFFF#000000##000000
##7EA1381.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9972A
Deuteranopia (green-blind)
#A59540
Tritanopia (blue-blind)
#839A8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea138;
/* rgb */ color: rgb(126, 161, 56);
/* oklch */ color: oklch(66.1% 0.138 125.7);
Tailwind
colors: {
  custom: {
    50: '#a6bd74',
    500: '#7ea138',
    950: '#000000',
  },
}
SCSS
$custom: #7ea138;
$custom-light: #a6bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea138",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 80,
    "s": 48.387,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66136,
    "c": 0.13807,
    "h": 125.7
  },
  "luminance": 0.30211
}

Semantic roles & 50–950 ramp

primary
#7EA138
secondary
#8F78BC
accent
#50D87D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA138

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

Preview Lab → · Contrast checker → · Palette generator →

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