#7EB338#7EB338

#7EB338 is a light, vivid yellow-green. Relative luminance 0.370; OKLCH L 70.5% C 0.162 H 129.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7EB338
RGBrgb(126, 179, 56)
HSLhsl(86, 52%, 46%)
HSVhsv(86, 69%, 70%)
CMYKcmyk(29.6%, 0%, 68.7%, 29.8%)
CIE-LABlab(67.25, -36.61, 54.72)
CIE-LCHlch(67.25, 65.83, 123.78°)
OKLaboklab(70.53% -0.1037 0.1241)
OKLCHoklch(70.53% 0.162 129.9)
XYZxyz(25.4379, 36.9606, 9.5345)
Luminance0.3696 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB338 #6D38B3
analogous
#B3AA38 #7EB338 #40B338
triadic
#7EB338 #387EB3 #B3387E
tetradic
#7EB338 #38B3AA #6D38B3 #B33840
square
#7EB338 #38B3AA #6D38B3 #B33840
split-complementary
#7EB338 #3840B3 #AA38B3
monochromatic
#3C561B #5D8429 #7EB338 #9CCC5C #B8DB8B

Accessibility & contrast

On white

2.50
#7EB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#7EB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB338
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB338#FFFFFF#000000##000000
##7EB3381.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA626
Deuteranopia (green-blind)
#B4A242
Tritanopia (blue-blind)
#81AB9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb338;
/* rgb */ color: rgb(126, 179, 56);
/* oklch */ color: oklch(70.5% 0.162 129.9);
Tailwind
colors: {
  custom: {
    50: '#a7ca75',
    500: '#7eb338',
    950: '#000000',
  },
}
SCSS
$custom: #7eb338;
$custom-light: #a7ca75;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb338",
  "rgb": {
    "r": 126,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 85.854,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70525,
    "c": 0.1617,
    "h": 129.9
  },
  "luminance": 0.36961
}

Semantic roles & 50–950 ramp

primary
#7EB338
secondary
#9F82C5
accent
#4CDC8A
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB338

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

Preview Lab → · Contrast checker → · Palette generator →

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