#7EA938#7EA938

#7EA938 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.1% C 0.149 H 127.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7EA938
RGBrgb(126, 169, 56)
HSLhsl(83, 50%, 44%)
HSVhsv(83, 67%, 66%)
CMYKcmyk(25.4%, 0%, 66.9%, 33.7%)
CIE-LABlab(64.24, -32.01, 51.58)
CIE-LCHlch(64.24, 60.70, 121.83°)
OKLaboklab(68.08% -0.0911 0.1175)
OKLCHoklch(68.08% 0.149 127.8)
XYZxyz(23.5059, 33.0966, 8.8905)
Luminance0.3310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA938 #6338A9
analogous
#A99C38 #7EA938 #46A938
triadic
#7EA938 #387EA9 #A9387E
tetradic
#7EA938 #38A99C #6338A9 #A93846
square
#7EA938 #38A99C #6338A9 #A93846
split-complementary
#7EA938 #3846A9 #9C38A9
monochromatic
#394D1A #5C7B29 #7EA938 #9DC757 #B7D785

Accessibility & contrast

On white

2.76
#7EA938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7EA938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA938
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA938#FFFFFF#000000##000000
##7EA9381.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E29
Deuteranopia (green-blind)
#AB9B41
Tritanopia (blue-blind)
#82A192
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7ea938;
/* rgb */ color: rgb(126, 169, 56);
/* oklch */ color: oklch(68.1% 0.149 127.8);
Tailwind
colors: {
  custom: {
    50: '#a7c274',
    500: '#7ea938',
    950: '#000000',
  },
}
SCSS
$custom: #7ea938;
$custom-light: #a7c274;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea938",
  "rgb": {
    "r": 126,
    "g": 169,
    "b": 56
  },
  "hsl": {
    "h": 82.832,
    "s": 50.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68082,
    "c": 0.14865,
    "h": 127.8
  },
  "luminance": 0.33097
}

Semantic roles & 50–950 ramp

primary
#7EA938
secondary
#967CC0
accent
#4EDA83
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA938

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

Preview Lab → · Contrast checker → · Palette generator →

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