#7EB236#7EB236

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

Color values

HEX#7EB236
RGBrgb(126, 178, 54)
HSLhsl(85, 53%, 45%)
HSVhsv(85, 70%, 70%)
CMYKcmyk(29.2%, 0%, 69.7%, 30.2%)
CIE-LABlab(66.93, -36.30, 55.18)
CIE-LCHlch(66.93, 66.04, 123.34°)
OKLaboklab(70.26% -0.103 0.1247)
OKLCHoklch(70.26% 0.162 129.6)
XYZxyz(25.1903, 36.5421, 9.2154)
Luminance0.3654 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB236 #6A36B2
analogous
#B2A836 #7EB236 #40B236
triadic
#7EB236 #367EB2 #B2367E
tetradic
#7EB236 #36B2A8 #6A36B2 #B23640
square
#7EB236 #36B2A8 #6A36B2 #B23640
split-complementary
#7EB236 #3640B2 #A836B2
monochromatic
#3C541A #5D8328 #7EB236 #9CCD59 #B8DB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB236#FFFFFF#000000##000000
##7EB2361.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)
#BAA523
Deuteranopia (green-blind)
#B3A241
Tritanopia (blue-blind)
#81AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb236;
/* rgb */ color: rgb(126, 178, 54);
/* oklch */ color: oklch(70.3% 0.162 129.6);
Tailwind
colors: {
  custom: {
    50: '#a7c974',
    500: '#7eb236',
    950: '#000000',
  },
}
SCSS
$custom: #7eb236;
$custom-light: #a7c974;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb236",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 85.161,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.70264,
    "c": 0.16177,
    "h": 129.6
  },
  "luminance": 0.36543
}

Semantic roles & 50–950 ramp

primary
#7EB236
secondary
#9C7FC5
accent
#4BDD88
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB236

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

Preview Lab → · Contrast checker → · Palette generator →

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