#7EA838#7EA838

#7EA838 is a light, vivid yellow-green. Relative luminance 0.327; OKLCH L 67.8% C 0.147 H 127.6°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#7EA838
RGBrgb(126, 168, 56)
HSLhsl(83, 50%, 44%)
HSVhsv(83, 67%, 66%)
CMYKcmyk(25%, 0%, 66.7%, 34.1%)
CIE-LABlab(63.94, -31.54, 51.26)
CIE-LCHlch(63.94, 60.19, 121.61°)
OKLaboklab(67.84% -0.0898 0.1168)
OKLCHoklch(67.84% 0.147 127.6)
XYZxyz(23.3206, 32.7260, 8.8287)
Luminance0.3273 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA838 #6238A8
analogous
#A89A38 #7EA838 #46A838
triadic
#7EA838 #387EA8 #A8387E
tetradic
#7EA838 #38A89A #6238A8 #A83846
square
#7EA838 #38A89A #6238A8 #A83846
split-complementary
#7EA838 #3846A8 #9A38A8
monochromatic
#394C19 #5C7A29 #7EA838 #9DC756 #B7D684

Accessibility & contrast

On white

2.78
#7EA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#7EA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA838
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA838#FFFFFF#000000##000000
##7EA8381.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09D29
Deuteranopia (green-blind)
#AB9A41
Tritanopia (blue-blind)
#82A091
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ea838;
/* rgb */ color: rgb(126, 168, 56);
/* oklch */ color: oklch(67.8% 0.147 127.6);
Tailwind
colors: {
  custom: {
    50: '#a7c274',
    500: '#7ea838',
    950: '#000000',
  },
}
SCSS
$custom: #7ea838;
$custom-light: #a7c274;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea838",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 82.5,
    "s": 50,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67838,
    "c": 0.14733,
    "h": 127.6
  },
  "luminance": 0.32726
}

Semantic roles & 50–950 ramp

primary
#7EA838
secondary
#957CC0
accent
#4EDA82
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA838

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

Preview Lab → · Contrast checker → · Palette generator →

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