#7EB545#7EB545

#7EB545 is a light, vivid yellow-green. Relative luminance 0.379; OKLCH L 71.1% C 0.154 H 131.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#7EB545
RGBrgb(126, 181, 69)
HSLhsl(89, 45%, 49%)
HSVhsv(89, 62%, 71%)
CMYKcmyk(30.4%, 0%, 61.9%, 29%)
CIE-LABlab(67.96, -36.47, 50.03)
CIE-LCHlch(67.96, 61.91, 126.09°)
OKLaboklab(71.14% -0.1022 0.1158)
OKLCHoklch(71.14% 0.154 131.4)
XYZxyz(26.2019, 37.9122, 11.5663)
Luminance0.3791 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB545 #7C45B5
analogous
#B5B445 #7EB545 #46B545
triadic
#7EB545 #457EB5 #B5457E
tetradic
#7EB545 #45B5B4 #7C45B5 #B54546
square
#7EB545 #45B5B4 #7C45B5 #B54546
split-complementary
#7EB545 #4546B5 #B445B5
monochromatic
#405C23 #5F8934 #7EB545 #9CC86F #BBD99B

Accessibility & contrast

On white

2.45
#7EB545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#7EB545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB545
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB545#FFFFFF#000000##000000
##7EB5451.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA838
Deuteranopia (green-blind)
#B5A44D
Tritanopia (blue-blind)
#80AE9D
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7eb545;
/* rgb */ color: rgb(126, 181, 69);
/* oklch */ color: oklch(71.1% 0.154 131.4);
Tailwind
colors: {
  custom: {
    50: '#a7cb7d',
    500: '#7eb545',
    950: '#000000',
  },
}
SCSS
$custom: #7eb545;
$custom-light: #a7cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb545",
  "rgb": {
    "r": 126,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 89.464,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.71135,
    "c": 0.15449,
    "h": 131.4
  },
  "luminance": 0.37913
}

Semantic roles & 50–950 ramp

primary
#7EB545
secondary
#AA91C5
accent
#53D593
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C

Preview Lab

Preview with #7EB545

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

Preview Lab → · Contrast checker → · Palette generator →

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