#7EB256#7EB256

#7EB256 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.6% C 0.135 H 133.2°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#7EB256
RGBrgb(126, 178, 86)
HSLhsl(94, 37%, 52%)
HSVhsv(94, 52%, 70%)
CMYKcmyk(29.2%, 0%, 51.7%, 30.2%)
CIE-LABlab(67.24, -33.36, 41.26)
CIE-LCHlch(67.24, 53.06, 128.96°)
OKLaboklab(70.61% -0.0924 0.0985)
OKLCHoklch(70.61% 0.135 133.2)
XYZxyz(26.2038, 36.9475, 14.5532)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB256 #8A56B2
analogous
#ACB256 #7EB256 #56B25C
triadic
#7EB256 #567EB2 #B2567E
tetradic
#7EB256 #56ACB2 #8A56B2 #B25C56
square
#7EB256 #56ACB2 #8A56B2 #B25C56
split-complementary
#7EB256 #5C56B2 #B256AC
monochromatic
#43612C #608B3F #7EB256 #9EC580 #BED8AA

Accessibility & contrast

On white

2.50
#7EB256 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#7EB256 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB256
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB256#FFFFFF#000000##000000
##7EB2561.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A64E
Deuteranopia (green-blind)
#B1A25C
Tritanopia (blue-blind)
#7FAC9D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb256;
/* rgb */ color: rgb(126, 178, 86);
/* oklch */ color: oklch(70.6% 0.135 133.2);
Tailwind
colors: {
  custom: {
    50: '#a6c988',
    500: '#7eb256',
    950: '#000000',
  },
}
SCSS
$custom: #7eb256;
$custom-light: #a6c988;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb256",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 86
  },
  "hsl": {
    "h": 93.913,
    "s": 37.398,
    "l": 51.765
  },
  "oklch": {
    "l": 0.7061,
    "c": 0.13501,
    "h": 133.2
  },
  "luminance": 0.36948
}

Semantic roles & 50–950 ramp

primary
#7EB256
secondary
#B59EC6
accent
#5ACD9B
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7EB256

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

Preview Lab → · Contrast checker → · Palette generator →

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