#7EBA30#7EBA30

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

Color values

HEX#7EBA30
RGBrgb(126, 186, 48)
HSLhsl(86, 59%, 46%)
HSVhsv(86, 74%, 73%)
CMYKcmyk(32.3%, 0%, 74.2%, 27.1%)
CIE-LABlab(69.30, -40.24, 59.74)
CIE-LCHlch(69.30, 72.03, 123.96°)
OKLaboklab(72.18% -0.1142 0.1334)
OKLCHoklch(72.18% 0.176 130.6)
XYZxyz(26.6964, 39.7659, 9.0648)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBA30 #6C30BA
analogous
#BAB130 #7EBA30 #39BA30
triadic
#7EBA30 #307EBA #BA307E
tetradic
#7EBA30 #30BAB1 #6C30BA #BA3039
square
#7EBA30 #30BAB1 #6C30BA #BA3039
split-complementary
#7EBA30 #3039BA #B130BA
monochromatic
#3C5917 #5D8923 #7EBA30 #9CD354 #B8DF85

Accessibility & contrast

On white

2.35
#7EBA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#7EBA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBA30
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBA30#FFFFFF#000000##000000
##7EBA301.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC13
Deuteranopia (green-blind)
#BAA83D
Tritanopia (blue-blind)
#81B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eba30;
/* rgb */ color: rgb(126, 186, 48);
/* oklch */ color: oklch(72.2% 0.176 130.6);
Tailwind
colors: {
  custom: {
    50: '#a8cf72',
    500: '#7eba30',
    950: '#000000',
  },
}
SCSS
$custom: #7eba30;
$custom-light: #a8cf72;
$custom-dark: #000000;
JSON
{
  "hex": "#7eba30",
  "rgb": {
    "r": 126,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 86.087,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.7218,
    "c": 0.17563,
    "h": 130.6
  },
  "luminance": 0.39767
}

Semantic roles & 50–950 ramp

primary
#7EBA30
secondary
#9E7DC9
accent
#46E28A
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101408
muted
#7F827B

Preview Lab

Preview with #7EBA30

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

Preview Lab → · Contrast checker → · Palette generator →

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