#7EB235#7EB235

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

Color values

HEX#7EB235
RGBrgb(126, 178, 53)
HSLhsl(85, 54%, 45%)
HSVhsv(85, 70%, 70%)
CMYKcmyk(29.2%, 0%, 70.2%, 30.2%)
CIE-LABlab(66.92, -36.36, 55.55)
CIE-LCHlch(66.92, 66.40, 123.21°)
OKLaboklab(70.26% -0.1033 0.1254)
OKLCHoklch(70.26% 0.162 129.5)
XYZxyz(25.1671, 36.5328, 9.0930)
Luminance0.3653 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB235 #6935B2
analogous
#B2A735 #7EB235 #3FB235
triadic
#7EB235 #357EB2 #B2357E
tetradic
#7EB235 #35B2A7 #6935B2 #B2353F
square
#7EB235 #35B2A7 #6935B2 #B2353F
split-complementary
#7EB235 #353FB2 #A735B2
monochromatic
#3B5419 #5D8327 #7EB235 #9CCD57 #B8DB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB235#FFFFFF#000000##000000
##7EB2351.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)
#BAA521
Deuteranopia (green-blind)
#B3A240
Tritanopia (blue-blind)
#82AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb235;
/* rgb */ color: rgb(126, 178, 53);
/* oklch */ color: oklch(70.3% 0.162 129.5);
Tailwind
colors: {
  custom: {
    50: '#a7c974',
    500: '#7eb235',
    950: '#000000',
  },
}
SCSS
$custom: #7eb235;
$custom-light: #a7c974;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb235",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 53
  },
  "hsl": {
    "h": 84.96,
    "s": 54.113,
    "l": 45.294
  },
  "oklch": {
    "l": 0.70256,
    "c": 0.16245,
    "h": 129.5
  },
  "luminance": 0.36533
}

Semantic roles & 50–950 ramp

primary
#7EB235
secondary
#9B7EC5
accent
#4ADD88
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB235

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

Preview Lab → · Contrast checker → · Palette generator →

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