#7EA254#7EA254

#7EA254 is a light, moderate yellow-green. Relative luminance 0.309; OKLCH L 66.7% C 0.113 H 129.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7EA254
RGBrgb(126, 162, 84)
HSLhsl(88, 32%, 48%)
HSVhsv(88, 48%, 64%)
CMYKcmyk(22.2%, 0%, 48.1%, 36.5%)
CIE-LABlab(62.44, -25.95, 36.41)
CIE-LCHlch(62.44, 44.71, 125.47°)
OKLaboklab(66.72% -0.0719 0.0876)
OKLCHoklch(66.72% 0.113 129.4)
XYZxyz(23.1245, 30.9159, 13.1348)
Luminance0.3092 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA254 #7854A2
analogous
#A29F54 #7EA254 #57A254
triadic
#7EA254 #547EA2 #A2547E
tetradic
#7EA254 #54A29F #7854A2 #A25457
square
#7EA254 #54A29F #7854A2 #A25457
split-complementary
#7EA254 #5457A2 #9F54A2
monochromatic
#3F512A #5F7A3F #7EA254 #9CBA79 #BACFA2

Accessibility & contrast

On white

2.92
#7EA254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7EA254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA254
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA254#FFFFFF#000000##000000
##7EA2541.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8994D
Deuteranopia (green-blind)
#A39659
Tritanopia (blue-blind)
#819C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea254;
/* rgb */ color: rgb(126, 162, 84);
/* oklch */ color: oklch(66.7% 0.113 129.4);
Tailwind
colors: {
  custom: {
    50: '#a5bd86',
    500: '#7ea254',
    950: '#000000',
  },
}
SCSS
$custom: #7ea254;
$custom-light: #a5bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea254",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 84
  },
  "hsl": {
    "h": 87.692,
    "s": 31.707,
    "l": 48.235
  },
  "oklch": {
    "l": 0.66719,
    "c": 0.11338,
    "h": 129.4
  },
  "luminance": 0.30916
}

Semantic roles & 50–950 ramp

primary
#7EA254
secondary
#A796BC
accent
#60C890
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA254

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

Preview Lab → · Contrast checker → · Palette generator →

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