#7EB229#7EB229

#7EB229 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.2% C 0.170 H 128.8°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#7EB229
RGBrgb(126, 178, 41)
HSLhsl(83, 63%, 43%)
HSVhsv(83, 77%, 70%)
CMYKcmyk(29.2%, 0%, 77%, 30.2%)
CIE-LABlab(66.85, -37.08, 59.72)
CIE-LCHlch(66.85, 70.30, 121.84°)
OKLaboklab(70.17% -0.1062 0.1323)
OKLCHoklch(70.17% 0.17 128.8)
XYZxyz(24.9248, 36.4358, 7.8170)
Luminance0.3644 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB229 #5D29B2
analogous
#B2A129 #7EB229 #39B229
triadic
#7EB229 #297EB2 #B2297E
tetradic
#7EB229 #29B2A1 #5D29B2 #B22939
square
#7EB229 #29B2A1 #5D29B2 #B22939
split-complementary
#7EB229 #2939B2 #A129B2
monochromatic
#384F12 #5B801E #7EB229 #9DD444 #B7DF76

Accessibility & contrast

On white

2.53
#7EB229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#7EB229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB229
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB229#FFFFFF#000000##000000
##7EB2291.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA504
Deuteranopia (green-blind)
#B4A237
Tritanopia (blue-blind)
#82AA98
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb229;
/* rgb */ color: rgb(126, 178, 41);
/* oklch */ color: oklch(70.2% 0.170 128.8);
Tailwind
colors: {
  custom: {
    50: '#a8c96e',
    500: '#7eb229',
    950: '#000000',
  },
}
SCSS
$custom: #7eb229;
$custom-light: #a8c96e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb229",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 82.774,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70173,
    "c": 0.16962,
    "h": 128.8
  },
  "luminance": 0.36437
}

Semantic roles & 50–950 ramp

primary
#7EB229
secondary
#9170C7
accent
#42E680
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB229

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

Preview Lab → · Contrast checker → · Palette generator →

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