#7EA238#7EA238

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

Color values

HEX#7EA238
RGBrgb(126, 162, 56)
HSLhsl(80, 49%, 43%)
HSVhsv(80, 65%, 64%)
CMYKcmyk(22.2%, 0%, 65.4%, 36.5%)
CIE-LABlab(62.14, -28.69, 49.35)
CIE-LCHlch(62.14, 57.08, 120.17°)
OKLaboklab(66.38% -0.082 0.1128)
OKLCHoklch(66.38% 0.139 126)
XYZxyz(22.2384, 30.5615, 8.4680)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA238 #5C38A2
analogous
#A29138 #7EA238 #49A238
triadic
#7EA238 #387EA2 #A2387E
tetradic
#7EA238 #38A291 #5C38A2 #A23849
square
#7EA238 #38A291 #5C38A2 #A23849
split-complementary
#7EA238 #3849A2 #9138A2
monochromatic
#374719 #5B7528 #7EA238 #9EC453 #B7D381

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA238#FFFFFF#000000##000000
##7EA2381.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)
#AA982A
Deuteranopia (green-blind)
#A59640
Tritanopia (blue-blind)
#839B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea238;
/* rgb */ color: rgb(126, 162, 56);
/* oklch */ color: oklch(66.4% 0.139 126.0);
Tailwind
colors: {
  custom: {
    50: '#a6bd74',
    500: '#7ea238',
    950: '#000000',
  },
}
SCSS
$custom: #7ea238;
$custom-light: #a6bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea238",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 56
  },
  "hsl": {
    "h": 80.377,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66379,
    "c": 0.1394,
    "h": 126
  },
  "luminance": 0.30562
}

Semantic roles & 50–950 ramp

primary
#7EA238
secondary
#9079BD
accent
#50D87E
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA238

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

Preview Lab → · Contrast checker → · Palette generator →

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