#7EB332#7EB332

#7EB332 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.5% C 0.166 H 129.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#7EB332
RGBrgb(126, 179, 50)
HSLhsl(85, 56%, 45%)
HSVhsv(85, 72%, 70%)
CMYKcmyk(29.6%, 0%, 72.1%, 29.8%)
CIE-LABlab(67.21, -37.01, 56.96)
CIE-LCHlch(67.21, 67.93, 123.01°)
OKLaboklab(70.48% -0.1053 0.1279)
OKLCHoklch(70.48% 0.166 129.5)
XYZxyz(25.2999, 36.9054, 8.8075)
Luminance0.3691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB332 #6732B3
analogous
#B3A732 #7EB332 #3EB332
triadic
#7EB332 #327EB3 #B3327E
tetradic
#7EB332 #32B3A7 #6732B3 #B3323E
square
#7EB332 #32B3A7 #6732B3 #B3323E
split-complementary
#7EB332 #323EB3 #A732B3
monochromatic
#3B5317 #5C8325 #7EB332 #9CCF53 #B8DC83

Accessibility & contrast

On white

2.51
#7EB332 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#7EB332 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB332
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB332#FFFFFF#000000##000000
##7EB3321.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA61B
Deuteranopia (green-blind)
#B4A23E
Tritanopia (blue-blind)
#82AB9A
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb332;
/* rgb */ color: rgb(126, 179, 50);
/* oklch */ color: oklch(70.5% 0.166 129.5);
Tailwind
colors: {
  custom: {
    50: '#a7ca72',
    500: '#7eb332',
    950: '#000000',
  },
}
SCSS
$custom: #7eb332;
$custom-light: #a7ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb332",
  "rgb": {
    "r": 126,
    "g": 179,
    "b": 50
  },
  "hsl": {
    "h": 84.651,
    "s": 56.332,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70478,
    "c": 0.16566,
    "h": 129.5
  },
  "luminance": 0.36906
}

Semantic roles & 50–950 ramp

primary
#7EB332
secondary
#9A7BC6
accent
#48E086
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB332

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

Preview Lab → · Contrast checker → · Palette generator →

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