#7EA236#7EA236

#7EA236 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.4% C 0.141 H 125.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#7EA236
RGBrgb(126, 162, 54)
HSLhsl(80, 50%, 42%)
HSVhsv(80, 67%, 64%)
CMYKcmyk(22.2%, 0%, 66.7%, 36.5%)
CIE-LABlab(62.12, -28.84, 50.18)
CIE-LCHlch(62.12, 57.88, 119.89°)
OKLaboklab(66.36% -0.0826 0.1142)
OKLCHoklch(66.36% 0.141 125.9)
XYZxyz(22.1905, 30.5423, 8.2155)
Luminance0.3054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA236 #5A36A2
analogous
#A29036 #7EA236 #48A236
triadic
#7EA236 #367EA2 #A2367E
tetradic
#7EA236 #36A290 #5A36A2 #A23648
square
#7EA236 #36A290 #5A36A2 #A23648
split-complementary
#7EA236 #3648A2 #9036A2
monochromatic
#374617 #5A7427 #7EA236 #9EC550 #B8D47E

Accessibility & contrast

On white

2.95
#7EA236 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#7EA236 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA236
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA236#FFFFFF#000000##000000
##7EA2361.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9727
Deuteranopia (green-blind)
#A6963E
Tritanopia (blue-blind)
#839A8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea236;
/* rgb */ color: rgb(126, 162, 54);
/* oklch */ color: oklch(66.4% 0.141 125.9);
Tailwind
colors: {
  custom: {
    50: '#a6bd73',
    500: '#7ea236',
    950: '#000000',
  },
}
SCSS
$custom: #7ea236;
$custom-light: #a6bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea236",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 54
  },
  "hsl": {
    "h": 80,
    "s": 50,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6636,
    "c": 0.14095,
    "h": 125.9
  },
  "luminance": 0.30543
}

Semantic roles & 50–950 ramp

primary
#7EA236
secondary
#8E77BD
accent
#4EDA7D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA236

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

Preview Lab → · Contrast checker → · Palette generator →

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