#7EB938#7EB938

#7EB938 is a light, vivid yellow-green. Relative luminance 0.394; OKLCH L 72.0% C 0.169 H 130.9°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#7EB938
RGBrgb(126, 185, 56)
HSLhsl(87, 54%, 47%)
HSVhsv(87, 70%, 73%)
CMYKcmyk(31.9%, 0%, 69.7%, 27.5%)
CIE-LABlab(69.05, -39.28, 56.58)
CIE-LCHlch(69.05, 68.88, 124.77°)
OKLaboklab(71.99% -0.111 0.1279)
OKLCHoklch(71.99% 0.169 130.9)
XYZxyz(26.6667, 39.4182, 9.9441)
Luminance0.3942 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB938 #7338B9
analogous
#B9B438 #7EB938 #3DB938
triadic
#7EB938 #387EB9 #B9387E
tetradic
#7EB938 #38B9B4 #7338B9 #B9383D
square
#7EB938 #38B9B4 #7338B9 #B9383D
split-complementary
#7EB938 #383DB9 #B438B9
monochromatic
#3E5B1C #5E8A2A #7EB938 #9CCF5F #B9DD8E

Accessibility & contrast

On white

2.36
#7EB938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#7EB938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB938
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB938#FFFFFF#000000##000000
##7EB9381.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#B9A743
Tritanopia (blue-blind)
#80B19F
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eb938;
/* rgb */ color: rgb(126, 185, 56);
/* oklch */ color: oklch(72.0% 0.169 130.9);
Tailwind
colors: {
  custom: {
    50: '#a8ce76',
    500: '#7eb938',
    950: '#000000',
  },
}
SCSS
$custom: #7eb938;
$custom-light: #a8ce76;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb938",
  "rgb": {
    "r": 126,
    "g": 185,
    "b": 56
  },
  "hsl": {
    "h": 87.442,
    "s": 53.527,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71994,
    "c": 0.16939,
    "h": 130.9
  },
  "luminance": 0.39419
}

Semantic roles & 50–950 ramp

primary
#7EB938
secondary
#A485C8
accent
#4BDD8E
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB938

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

Preview Lab → · Contrast checker → · Palette generator →

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