#7EA54B#7EA54B

#7EA54B is a light, vivid yellow-green. Relative luminance 0.319; OKLCH L 67.3% C 0.127 H 128.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7EA54B
RGBrgb(126, 165, 75)
HSLhsl(86, 38%, 47%)
HSVhsv(86, 55%, 65%)
CMYKcmyk(23.6%, 0%, 54.5%, 35.3%)
CIE-LABlab(63.22, -28.41, 41.85)
CIE-LCHlch(63.22, 50.58, 124.18°)
OKLaboklab(67.32% -0.0795 0.0989)
OKLCHoklch(67.32% 0.127 128.8)
XYZxyz(23.3292, 31.8534, 11.5745)
Luminance0.3185 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA54B #724BA5
analogous
#A59F4B #7EA54B #51A54B
triadic
#7EA54B #4B7EA5 #A54B7E
tetradic
#7EA54B #4BA59F #724BA5 #A54B51
square
#7EA54B #4BA59F #724BA5 #A54B51
split-complementary
#7EA54B #4B51A5 #9F4BA5
monochromatic
#3E5125 #5E7B38 #7EA54B #9CBE6F #B9D19A

Accessibility & contrast

On white

2.85
#7EA54B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#7EA54B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA54B
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA54B#FFFFFF#000000##000000
##7EA54B1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B42
Deuteranopia (green-blind)
#A79851
Tritanopia (blue-blind)
#819E91
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea54b;
/* rgb */ color: rgb(126, 165, 75);
/* oklch */ color: oklch(67.3% 0.127 128.8);
Tailwind
colors: {
  custom: {
    50: '#a5c080',
    500: '#7ea54b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea54b;
$custom-light: #a5c080;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea54b",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 75
  },
  "hsl": {
    "h": 86,
    "s": 37.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.67317,
    "c": 0.12687,
    "h": 128.8
  },
  "luminance": 0.31854
}

Semantic roles & 50–950 ramp

primary
#7EA54B
secondary
#A38FBD
accent
#5ACD8C
background
#FAFBF7
surface
#F4F7EE
border
#CED0C9
text
#0F120A
muted
#7F817C

Preview Lab

Preview with #7EA54B

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

Preview Lab → · Contrast checker → · Palette generator →

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