#7EB538#7EB538

#7EB538 is a light, vivid yellow-green. Relative luminance 0.378; OKLCH L 71.0% C 0.164 H 130.3°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#7EB538
RGBrgb(126, 181, 56)
HSLhsl(86, 53%, 46%)
HSVhsv(86, 69%, 71%)
CMYKcmyk(30.4%, 0%, 69.1%, 29%)
CIE-LABlab(67.85, -37.50, 55.34)
CIE-LCHlch(67.85, 66.85, 124.13°)
OKLaboklab(71.01% -0.1062 0.1254)
OKLCHoklch(71.01% 0.164 130.3)
XYZxyz(25.8417, 37.7681, 9.6691)
Luminance0.3777 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB538 #6F38B5
analogous
#B5AE38 #7EB538 #40B538
triadic
#7EB538 #387EB5 #B5387E
tetradic
#7EB538 #38B5AE #6F38B5 #B53840
square
#7EB538 #38B5AE #6F38B5 #B53840
split-complementary
#7EB538 #3840B5 #AE38B5
monochromatic
#3D581B #5D862A #7EB538 #9CCD5D #B8DB8C

Accessibility & contrast

On white

2.46
#7EB538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#7EB538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB538
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB538#FFFFFF#000000##000000
##7EB5381.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA825
Deuteranopia (green-blind)
#B6A443
Tritanopia (blue-blind)
#81AD9C
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7eb538;
/* rgb */ color: rgb(126, 181, 56);
/* oklch */ color: oklch(71.0% 0.164 130.3);
Tailwind
colors: {
  custom: {
    50: '#a7cb76',
    500: '#7eb538',
    950: '#000000',
  },
}
SCSS
$custom: #7eb538;
$custom-light: #a7cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb538",
  "rgb": {
    "r": 126,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 86.4,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.71014,
    "c": 0.16427,
    "h": 130.3
  },
  "luminance": 0.37769
}

Semantic roles & 50–950 ramp

primary
#7EB538
secondary
#A083C6
accent
#4CDC8B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB538

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

Preview Lab → · Contrast checker → · Palette generator →

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