#7EB255#7EB255

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

Color values

HEX#7EB255
RGBrgb(126, 178, 85)
HSLhsl(94, 38%, 52%)
HSVhsv(94, 52%, 70%)
CMYKcmyk(29.2%, 0%, 52.2%, 30.2%)
CIE-LABlab(67.23, -33.48, 41.73)
CIE-LCHlch(67.23, 53.50, 128.74°)
OKLaboklab(70.6% -0.0928 0.0994)
OKLCHoklch(70.6% 0.136 133)
XYZxyz(26.1638, 36.9315, 14.3425)
Luminance0.3693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB255 #8955B2
analogous
#ADB255 #7EB255 #55B25B
triadic
#7EB255 #557EB2 #B2557E
tetradic
#7EB255 #55ADB2 #8955B2 #B25B55
square
#7EB255 #55ADB2 #8955B2 #B25B55
split-complementary
#7EB255 #5B55B2 #B255AD
monochromatic
#43612C #608B3F #7EB255 #9EC57F #BED8A9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EB255#FFFFFF#000000##000000
##7EB2551.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)
#B8A64D
Deuteranopia (green-blind)
#B1A25B
Tritanopia (blue-blind)
#7FAC9D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb255;
/* rgb */ color: rgb(126, 178, 85);
/* oklch */ color: oklch(70.6% 0.136 133.0);
Tailwind
colors: {
  custom: {
    50: '#a6c987',
    500: '#7eb255',
    950: '#000000',
  },
}
SCSS
$custom: #7eb255;
$custom-light: #a6c987;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb255",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 85
  },
  "hsl": {
    "h": 93.548,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.70597,
    "c": 0.13598,
    "h": 133
  },
  "luminance": 0.36932
}

Semantic roles & 50–950 ramp

primary
#7EB255
secondary
#B49DC6
accent
#5ACE9B
background
#FAFCF8
surface
#F4F8F0
border
#CED1CB
text
#10130B
muted
#7F827C

Preview Lab

Preview with #7EB255

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

Preview Lab → · Contrast checker → · Palette generator →

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