#7EB223#7EB223

#7EB223 is a light, vivid yellow-green. Relative luminance 0.364; OKLCH L 70.1% C 0.173 H 128.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#7EB223
RGBrgb(126, 178, 35)
HSLhsl(82, 67%, 42%)
HSVhsv(82, 80%, 70%)
CMYKcmyk(29.2%, 0%, 80.3%, 30.2%)
CIE-LABlab(66.82, -37.37, 61.52)
CIE-LCHlch(66.82, 71.98, 121.28°)
OKLaboklab(70.14% -0.1074 0.1351)
OKLCHoklch(70.14% 0.173 128.5)
XYZxyz(24.8280, 36.3971, 7.3070)
Luminance0.3640 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB223 #5723B2
analogous
#B29F23 #7EB223 #37B223
triadic
#7EB223 #237EB2 #B2237E
tetradic
#7EB223 #23B29F #5723B2 #B22337
square
#7EB223 #23B29F #5723B2 #B22337
split-complementary
#7EB223 #2337B2 #9F23B2
monochromatic
#364C0F #5A7F19 #7EB223 #9FD83A #B8E26D

Accessibility & contrast

On white

2.54
#7EB223 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#7EB223 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB223
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB223#FFFFFF#000000##000000
##7EB2231.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eb223;
/* rgb */ color: rgb(126, 178, 35);
/* oklch */ color: oklch(70.1% 0.173 128.5);
Tailwind
colors: {
  custom: {
    50: '#a8c96b',
    500: '#7eb223',
    950: '#000000',
  },
}
SCSS
$custom: #7eb223;
$custom-light: #a8c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb223",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 35
  },
  "hsl": {
    "h": 81.818,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.70139,
    "c": 0.17258,
    "h": 128.5
  },
  "luminance": 0.36398
}

Semantic roles & 50–950 ramp

primary
#7EB223
secondary
#8B68C9
accent
#3EEA7C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7EB223

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

Preview Lab → · Contrast checker → · Palette generator →

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