#7EBA42#7EBA42

#7EBA42 is a light, vivid yellow-green. Relative luminance 0.399; OKLCH L 72.3% C 0.164 H 132.0°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#7EBA42
RGBrgb(126, 186, 66)
HSLhsl(90, 48%, 49%)
HSVhsv(90, 65%, 73%)
CMYKcmyk(32.3%, 0%, 64.5%, 27.1%)
CIE-LABlab(69.43, -38.96, 52.94)
CIE-LCHlch(69.43, 65.73, 126.35°)
OKLaboklab(72.33% -0.1093 0.1216)
OKLCHoklch(72.33% 0.164 132)
XYZxyz(27.1461, 39.9458, 11.4332)
Luminance0.3995 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBA42 #7E42BA
analogous
#BABA42 #7EBA42 #42BA42
triadic
#7EBA42 #427EBA #BA427E
tetradic
#7EBA42 #42BABA #7E42BA #BA4242
square
#7EBA42 #42BABA #7E42BA #BA4242
split-complementary
#7EBA42 #4242BA #BA42BA
monochromatic
#416022 #5F8D32 #7EBA42 #9DCB6E #BBDB9B

Accessibility & contrast

On white

2.34
#7EBA42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#7EBA42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBA42
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBA42#FFFFFF#000000##000000
##7EBA421.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD33
Deuteranopia (green-blind)
#B9A84C
Tritanopia (blue-blind)
#80B3A1
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7eba42;
/* rgb */ color: rgb(126, 186, 66);
/* oklch */ color: oklch(72.3% 0.164 132.0);
Tailwind
colors: {
  custom: {
    50: '#a7cf7c',
    500: '#7eba42',
    950: '#000000',
  },
}
SCSS
$custom: #7eba42;
$custom-light: #a7cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eba42",
  "rgb": {
    "r": 126,
    "g": 186,
    "b": 66
  },
  "hsl": {
    "h": 90,
    "s": 47.619,
    "l": 49.412
  },
  "oklch": {
    "l": 0.72326,
    "c": 0.16354,
    "h": 132
  },
  "luminance": 0.39947
}

Semantic roles & 50–950 ramp

primary
#7EBA42
secondary
#AC90C8
accent
#51D794
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7EBA42

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

Preview Lab → · Contrast checker → · Palette generator →

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