#7EB237#7EB237

#7EB237 is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.161 H 129.6°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#7EB237
RGBrgb(126, 178, 55)
HSLhsl(85, 53%, 46%)
HSVhsv(85, 69%, 70%)
CMYKcmyk(29.2%, 0%, 69.1%, 30.2%)
CIE-LABlab(66.94, -36.23, 54.79)
CIE-LCHlch(66.94, 65.69, 123.47°)
OKLaboklab(70.27% -0.1028 0.1241)
OKLCHoklch(70.27% 0.161 129.6)
XYZxyz(25.2140, 36.5515, 9.3404)
Luminance0.3655 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB237 #6B37B2
analogous
#B2A837 #7EB237 #40B237
triadic
#7EB237 #377EB2 #B2377E
tetradic
#7EB237 #37B2A8 #6B37B2 #B23740
square
#7EB237 #37B2A8 #6B37B2 #B23740
split-complementary
#7EB237 #3740B2 #A837B2
monochromatic
#3C541A #5D8329 #7EB237 #9CCC5A #B8DB89

Accessibility & contrast

On white

2.53
#7EB237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#7EB237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB237
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB237#FFFFFF#000000##000000
##7EB2371.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA524
Deuteranopia (green-blind)
#B3A241
Tritanopia (blue-blind)
#81AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb237;
/* rgb */ color: rgb(126, 178, 55);
/* oklch */ color: oklch(70.3% 0.161 129.6);
Tailwind
colors: {
  custom: {
    50: '#a7c975',
    500: '#7eb237',
    950: '#000000',
  },
}
SCSS
$custom: #7eb237;
$custom-light: #a7c975;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb237",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 85.366,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.70272,
    "c": 0.16109,
    "h": 129.6
  },
  "luminance": 0.36552
}

Semantic roles & 50–950 ramp

primary
#7EB237
secondary
#9D80C5
accent
#4CDC89
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB237

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

Preview Lab → · Contrast checker → · Palette generator →

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