#7EAB38#7EAB38

#7EAB38 is a light, vivid yellow-green. Relative luminance 0.338; OKLCH L 68.6% C 0.151 H 128.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#7EAB38
RGBrgb(126, 171, 56)
HSLhsl(83, 51%, 45%)
HSVhsv(83, 67%, 67%)
CMYKcmyk(26.3%, 0%, 67.3%, 32.9%)
CIE-LABlab(64.84, -32.94, 52.21)
CIE-LCHlch(64.84, 61.73, 122.25°)
OKLaboklab(68.57% -0.0937 0.1188)
OKLCHoklch(68.57% 0.151 128.3)
XYZxyz(23.8809, 33.8464, 9.0154)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB38 #6538AB
analogous
#AB9F38 #7EAB38 #45AB38
triadic
#7EAB38 #387EAB #AB387E
tetradic
#7EAB38 #38AB9F #6538AB #AB3845
square
#7EAB38 #38AB9F #6538AB #AB3845
split-complementary
#7EAB38 #3845AB #9F38AB
monochromatic
#3A4F1A #5C7D29 #7EAB38 #9CC858 #B8D786

Accessibility & contrast

On white

2.70
#7EAB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#7EAB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAB38
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAB38#FFFFFF#000000##000000
##7EAB381.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F28
Deuteranopia (green-blind)
#AD9C41
Tritanopia (blue-blind)
#82A394
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab38;
/* rgb */ color: rgb(126, 171, 56);
/* oklch */ color: oklch(68.6% 0.151 128.3);
Tailwind
colors: {
  custom: {
    50: '#a7c475',
    500: '#7eab38',
    950: '#000000',
  },
}
SCSS
$custom: #7eab38;
$custom-light: #a7c475;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab38",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 56
  },
  "hsl": {
    "h": 83.478,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.6857,
    "c": 0.15128,
    "h": 128.3
  },
  "luminance": 0.33847
}

Semantic roles & 50–950 ramp

primary
#7EAB38
secondary
#987DC1
accent
#4EDA85
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EAB38

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

Preview Lab → · Contrast checker → · Palette generator →

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