#7EB23B#7EB23B

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

Color values

HEX#7EB23B
RGBrgb(126, 178, 59)
HSLhsl(86, 50%, 46%)
HSVhsv(86, 67%, 70%)
CMYKcmyk(29.2%, 0%, 66.9%, 30.2%)
CIE-LABlab(66.97, -35.93, 53.22)
CIE-LCHlch(66.97, 64.22, 124.03°)
OKLaboklab(70.31% -0.1016 0.1213)
OKLCHoklch(70.31% 0.158 130)
XYZxyz(25.3138, 36.5915, 9.8660)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB23B #6F3BB2
analogous
#B2AB3B #7EB23B #43B23B
triadic
#7EB23B #3B7EB2 #B23B7E
tetradic
#7EB23B #3BB2AB #6F3BB2 #B23B43
square
#7EB23B #3BB2AB #6F3BB2 #B23B43
split-complementary
#7EB23B #3B43B2 #AB3BB2
monochromatic
#3D561D #5D842C #7EB23B #9CCA60 #B8DA8E

Accessibility & contrast

On white

2.52
#7EB23B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB23B#FFFFFF#000000##000000
##7EB23B1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7eb23b;
/* rgb */ color: rgb(126, 178, 59);
/* oklch */ color: oklch(70.3% 0.158 130.0);
Tailwind
colors: {
  custom: {
    50: '#a7c977',
    500: '#7eb23b',
    950: '#000000',
  },
}
SCSS
$custom: #7eb23b;
$custom-light: #a7c977;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb23b",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 59
  },
  "hsl": {
    "h": 86.218,
    "s": 50.211,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70306,
    "c": 0.15825,
    "h": 130
  },
  "luminance": 0.36592
}

Semantic roles & 50–950 ramp

primary
#7EB23B
secondary
#A085C4
accent
#4EDA8B
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB23B

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

Preview Lab → · Contrast checker → · Palette generator →

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