#7EB838#7EB838

#7EB838 is a light, vivid yellow-green. Relative luminance 0.390; OKLCH L 71.7% C 0.168 H 130.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#7EB838
RGBrgb(126, 184, 56)
HSLhsl(87, 53%, 47%)
HSVhsv(87, 70%, 72%)
CMYKcmyk(31.5%, 0%, 69.6%, 27.8%)
CIE-LABlab(68.75, -38.84, 56.27)
CIE-LCHlch(68.75, 68.37, 124.62°)
OKLaboklab(71.75% -0.1098 0.1273)
OKLCHoklch(71.75% 0.168 130.8)
XYZxyz(26.4583, 39.0013, 9.8746)
Luminance0.3900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB838 #7238B8
analogous
#B8B238 #7EB838 #3EB838
triadic
#7EB838 #387EB8 #B8387E
tetradic
#7EB838 #38B8B2 #7238B8 #B8383E
square
#7EB838 #38B8B2 #7238B8 #B8383E
split-complementary
#7EB838 #383EB8 #B238B8
monochromatic
#3E5A1B #5E892A #7EB838 #9CCE5F #B9DD8E

Accessibility & contrast

On white

2.39
#7EB838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#7EB838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB838
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB838#FFFFFF#000000##000000
##7EB8381.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB24
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#81B09F
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #7eb838;
/* rgb */ color: rgb(126, 184, 56);
/* oklch */ color: oklch(71.7% 0.168 130.8);
Tailwind
colors: {
  custom: {
    50: '#a8cd76',
    500: '#7eb838',
    950: '#000000',
  },
}
SCSS
$custom: #7eb838;
$custom-light: #a8cd76;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb838",
  "rgb": {
    "r": 126,
    "g": 184,
    "b": 56
  },
  "hsl": {
    "h": 87.188,
    "s": 53.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71749,
    "c": 0.16812,
    "h": 130.8
  },
  "luminance": 0.39002
}

Semantic roles & 50–950 ramp

primary
#7EB838
secondary
#A385C7
accent
#4BDD8D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EB838

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

Preview Lab → · Contrast checker → · Palette generator →

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