#7EB23A#7EB23A

#7EB23A is a light, vivid yellow-green. Relative luminance 0.366; OKLCH L 70.3% C 0.159 H 129.9°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#7EB23A
RGBrgb(126, 178, 58)
HSLhsl(86, 51%, 46%)
HSVhsv(86, 67%, 70%)
CMYKcmyk(29.2%, 0%, 67.4%, 30.2%)
CIE-LABlab(66.96, -36.01, 53.62)
CIE-LCHlch(66.96, 64.59, 123.88°)
OKLaboklab(70.3% -0.1019 0.122)
OKLCHoklch(70.3% 0.159 129.9)
XYZxyz(25.2881, 36.5812, 9.7307)
Luminance0.3658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB23A #6E3AB2
analogous
#B2AA3A #7EB23A #42B23A
triadic
#7EB23A #3A7EB2 #B23A7E
tetradic
#7EB23A #3AB2AA #6E3AB2 #B23A42
square
#7EB23A #3AB2AA #6E3AB2 #B23A42
split-complementary
#7EB23A #3A42B2 #AA3AB2
monochromatic
#3D561C #5D842B #7EB23A #9CCB5F #B8DA8D

Accessibility & contrast

On white

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

On black

8.32
#7EB23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB23A
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB23A#FFFFFF#000000##000000
##7EB23A1.002.538.328.32
#FFFFFF2.531.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA529
Deuteranopia (green-blind)
#B3A244
Tritanopia (blue-blind)
#81AA9A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb23a;
/* rgb */ color: rgb(126, 178, 58);
/* oklch */ color: oklch(70.3% 0.159 129.9);
Tailwind
colors: {
  custom: {
    50: '#a7c976',
    500: '#7eb23a',
    950: '#000000',
  },
}
SCSS
$custom: #7eb23a;
$custom-light: #a7c976;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb23a",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 58
  },
  "hsl": {
    "h": 86,
    "s": 50.847,
    "l": 46.275
  },
  "oklch": {
    "l": 0.70297,
    "c": 0.15898,
    "h": 129.9
  },
  "luminance": 0.36582
}

Semantic roles & 50–950 ramp

primary
#7EB23A
secondary
#A083C4
accent
#4DDA8B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB23A

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

Preview Lab → · Contrast checker → · Palette generator →

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