#7EA538#7EA538

#7EA538 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.1% C 0.143 H 126.8°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7EA538
RGBrgb(126, 165, 56)
HSLhsl(81, 49%, 43%)
HSVhsv(81, 66%, 65%)
CMYKcmyk(23.6%, 0%, 66.1%, 35.3%)
CIE-LABlab(63.04, -30.13, 50.31)
CIE-LCHlch(63.04, 58.64, 120.92°)
OKLaboklab(67.11% -0.0859 0.1148)
OKLCHoklch(67.11% 0.143 126.8)
XYZxyz(22.7732, 31.6310, 8.6462)
Luminance0.3163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA538 #5F38A5
analogous
#A59538 #7EA538 #47A538
triadic
#7EA538 #387EA5 #A5387E
tetradic
#7EA538 #38A595 #5F38A5 #A53847
square
#7EA538 #38A595 #5F38A5 #A53847
split-complementary
#7EA538 #3847A5 #9538A5
monochromatic
#384A19 #5B7728 #7EA538 #9DC555 #B7D583

Accessibility & contrast

On white

2.87
#7EA538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#7EA538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA538
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA538#FFFFFF#000000##000000
##7EA5381.002.877.337.33
#FFFFFF2.871.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#A89840
Tritanopia (blue-blind)
#839E8F
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea538;
/* rgb */ color: rgb(126, 165, 56);
/* oklch */ color: oklch(67.1% 0.143 126.8);
Tailwind
colors: {
  custom: {
    50: '#a6c074',
    500: '#7ea538',
    950: '#000000',
  },
}
SCSS
$custom: #7ea538;
$custom-light: #a6c074;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea538",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 56
  },
  "hsl": {
    "h": 81.468,
    "s": 49.321,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67108,
    "c": 0.14337,
    "h": 126.8
  },
  "luminance": 0.31631
}

Semantic roles & 50–950 ramp

primary
#7EA538
secondary
#937ABE
accent
#4FD980
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA538

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

Preview Lab → · Contrast checker → · Palette generator →

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