#7EA237#7EA237

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

Color values

HEX#7EA237
RGBrgb(126, 162, 55)
HSLhsl(80, 49%, 43%)
HSVhsv(80, 66%, 64%)
CMYKcmyk(22.2%, 0%, 66%, 36.5%)
CIE-LABlab(62.13, -28.77, 49.76)
CIE-LCHlch(62.13, 57.48, 120.03°)
OKLaboklab(66.37% -0.0823 0.1135)
OKLCHoklch(66.37% 0.14 125.9)
XYZxyz(22.2142, 30.5518, 8.3404)
Luminance0.3055 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA237 #5B37A2
analogous
#A29137 #7EA237 #48A237
triadic
#7EA237 #377EA2 #A2377E
tetradic
#7EA237 #37A291 #5B37A2 #A23748
square
#7EA237 #37A291 #5B37A2 #A23748
split-complementary
#7EA237 #3748A2 #9137A2
monochromatic
#374718 #5A7427 #7EA237 #9EC452 #B7D480

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA237#FFFFFF#000000##000000
##7EA2371.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)
#AA9829
Deuteranopia (green-blind)
#A6963F
Tritanopia (blue-blind)
#839B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea237;
/* rgb */ color: rgb(126, 162, 55);
/* oklch */ color: oklch(66.4% 0.140 125.9);
Tailwind
colors: {
  custom: {
    50: '#a6bd73',
    500: '#7ea237',
    950: '#000000',
  },
}
SCSS
$custom: #7ea237;
$custom-light: #a6bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea237",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 80.187,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.66369,
    "c": 0.14018,
    "h": 125.9
  },
  "luminance": 0.30552
}

Semantic roles & 50–950 ramp

primary
#7EA237
secondary
#8F78BD
accent
#4FD97D
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA237

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

Preview Lab → · Contrast checker → · Palette generator →

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