#7EBB42#7EBB42

#7EBB42 is a light, vivid yellow-green. Relative luminance 0.404; OKLCH L 72.6% C 0.165 H 132.1°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#7EBB42
RGBrgb(126, 187, 66)
HSLhsl(90, 48%, 50%)
HSVhsv(90, 65%, 73%)
CMYKcmyk(32.6%, 0%, 64.7%, 26.7%)
CIE-LABlab(69.73, -39.40, 53.26)
CIE-LCHlch(69.73, 66.25, 126.49°)
OKLaboklab(72.57% -0.1105 0.1223)
OKLCHoklch(72.57% 0.165 132.1)
XYZxyz(27.3575, 40.3686, 11.5037)
Luminance0.4037 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBB42 #7F42BB
analogous
#BBBB42 #7EBB42 #42BB43
triadic
#7EBB42 #427EBB #BB427E
tetradic
#7EBB42 #42BBBB #7F42BB #BB4342
square
#7EBB42 #42BBBB #7F42BB #BB4342
split-complementary
#7EBB42 #4342BB #BB42BB
monochromatic
#416122 #608E32 #7EBB42 #9DCC6E #BBDC9C

Accessibility & contrast

On white

2.31
#7EBB42 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#7EBB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBB42
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBB42#FFFFFF#000000##000000
##7EBB421.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD33
Deuteranopia (green-blind)
#BAA94C
Tritanopia (blue-blind)
#80B4A2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7ebb42;
/* rgb */ color: rgb(126, 187, 66);
/* oklch */ color: oklch(72.6% 0.165 132.1);
Tailwind
colors: {
  custom: {
    50: '#a7d07c',
    500: '#7ebb42',
    950: '#000000',
  },
}
SCSS
$custom: #7ebb42;
$custom-light: #a7d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebb42",
  "rgb": {
    "r": 126,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 90.248,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.72571,
    "c": 0.16486,
    "h": 132.1
  },
  "luminance": 0.4037
}

Semantic roles & 50–950 ramp

primary
#7EBB42
secondary
#AD91C8
accent
#50D794
background
#FAFCF7
surface
#F4F9EE
border
#CED2C9
text
#10140A
muted
#7F827C

Preview Lab

Preview with #7EBB42

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

Preview Lab → · Contrast checker → · Palette generator →

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