#7EBA52#7EBA52

#7EBA52 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.5% C 0.150 H 133.8°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#7EBA52
RGBrgb(126, 186, 82)
HSLhsl(95, 43%, 53%)
HSVhsv(95, 56%, 73%)
CMYKcmyk(32.3%, 0%, 55.9%, 27.1%)
CIE-LABlab(69.58, -37.46, 45.96)
CIE-LCHlch(69.58, 59.29, 129.18°)
OKLaboklab(72.5% -0.1039 0.1084)
OKLCHoklch(72.5% 0.15 133.8)
XYZxyz(27.6856, 40.1616, 14.2743)
Luminance0.4016 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBA52 #8E52BA
analogous
#B2BA52 #7EBA52 #52BA5A
triadic
#7EBA52 #527EBA #BA527E
tetradic
#7EBA52 #52B2BA #8E52BA #BA5A52
square
#7EBA52 #52B2BA #8E52BA #BA5A52
split-complementary
#7EBA52 #5A52BA #BA52B2
monochromatic
#44682A #61943B #7EBA52 #9FCB7E #BFDDAA

Accessibility & contrast

On white

2.32
#7EBA52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#7EBA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBA52
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBA52#FFFFFF#000000##000000
##7EBA521.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD48
Deuteranopia (green-blind)
#B8A859
Tritanopia (blue-blind)
#7EB3A3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7eba52;
/* rgb */ color: rgb(126, 186, 82);
/* oklch */ color: oklch(72.5% 0.150 133.8);
Tailwind
colors: {
  custom: {
    50: '#a7cf86',
    500: '#7eba52',
    950: '#000000',
  },
}
SCSS
$custom: #7eba52;
$custom-light: #a7cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#7eba52",
  "rgb": {
    "r": 126,
    "g": 186,
    "b": 82
  },
  "hsl": {
    "h": 94.615,
    "s": 42.975,
    "l": 52.549
  },
  "oklch": {
    "l": 0.72501,
    "c": 0.15019,
    "h": 133.8
  },
  "luminance": 0.40163
}

Semantic roles & 50–950 ramp

primary
#7EBA52
secondary
#B79DCA
accent
#55D39E
background
#FAFCF8
surface
#F4F9EF
border
#CED2CA
text
#10140B
muted
#7F827C

Preview Lab

Preview with #7EBA52

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

Preview Lab → · Contrast checker → · Palette generator →

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