#7EBA38#7EBA38

#7EBA38 is a light, vivid yellow-green. Relative luminance 0.398; OKLCH L 72.2% C 0.171 H 131.1°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#7EBA38
RGBrgb(126, 186, 56)
HSLhsl(88, 54%, 47%)
HSVhsv(88, 70%, 73%)
CMYKcmyk(32.3%, 0%, 69.9%, 27.1%)
CIE-LABlab(69.35, -39.72, 56.88)
CIE-LCHlch(69.35, 69.38, 124.93°)
OKLaboklab(72.24% -0.1122 0.1286)
OKLCHoklch(72.24% 0.171 131.1)
XYZxyz(26.8767, 39.8380, 10.0140)
Luminance0.3984 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBA38 #7438BA
analogous
#BAB538 #7EBA38 #3DBA38
triadic
#7EBA38 #387EBA #BA387E
tetradic
#7EBA38 #38BAB5 #7438BA #BA383D
square
#7EBA38 #38BAB5 #7438BA #BA383D
split-complementary
#7EBA38 #383DBA #B538BA
monochromatic
#3E5C1C #5E8B2A #7EBA38 #9CCF60 #B9DD8F

Accessibility & contrast

On white

2.34
#7EBA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#7EBA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBA38
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBA38#FFFFFF#000000##000000
##7EBA381.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#80B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eba38;
/* rgb */ color: rgb(126, 186, 56);
/* oklch */ color: oklch(72.2% 0.171 131.1);
Tailwind
colors: {
  custom: {
    50: '#a8cf76',
    500: '#7eba38',
    950: '#000000',
  },
}
SCSS
$custom: #7eba38;
$custom-light: #a8cf76;
$custom-dark: #000000;
JSON
{
  "hex": "#7eba38",
  "rgb": {
    "r": 126,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 87.692,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.72239,
    "c": 0.17067,
    "h": 131.1
  },
  "luminance": 0.39839
}

Semantic roles & 50–950 ramp

primary
#7EBA38
secondary
#A486C8
accent
#4BDD8E
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7EBA38

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

Preview Lab → · Contrast checker → · Palette generator →

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