#7EBA56#7EBA56

#7EBA56 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.6% C 0.147 H 134.4°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#7EBA56
RGBrgb(126, 186, 86)
HSLhsl(96, 42%, 53%)
HSVhsv(96, 54%, 73%)
CMYKcmyk(32.3%, 0%, 53.8%, 27.1%)
CIE-LABlab(69.63, -37.02, 44.11)
CIE-LCHlch(69.63, 57.59, 130.01°)
OKLaboklab(72.55% -0.1025 0.1047)
OKLCHoklch(72.55% 0.147 134.4)
XYZxyz(27.8422, 40.2243, 15.0994)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBA56 #9256BA
analogous
#B0BA56 #7EBA56 #56BA60
triadic
#7EBA56 #567EBA #BA567E
tetradic
#7EBA56 #56B0BA #9256BA #BA6056
square
#7EBA56 #56B0BA #9256BA #BA6056
split-complementary
#7EBA56 #6056BA #BA56B0
monochromatic
#456A2B #61963D #7EBA56 #9FCC81 #C0DDAD

Accessibility & contrast

On white

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

On black

9.05
#7EBA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBA56
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBA56#FFFFFF#000000##000000
##7EBA561.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD4D
Deuteranopia (green-blind)
#B8A85D
Tritanopia (blue-blind)
#7EB4A4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7eba56;
/* rgb */ color: rgb(126, 186, 86);
/* oklch */ color: oklch(72.6% 0.147 134.4);
Tailwind
colors: {
  custom: {
    50: '#a6cf88',
    500: '#7eba56',
    950: '#000000',
  },
}
SCSS
$custom: #7eba56;
$custom-light: #a6cf88;
$custom-dark: #000000;
JSON
{
  "hex": "#7eba56",
  "rgb": {
    "r": 126,
    "g": 186,
    "b": 86
  },
  "hsl": {
    "h": 96,
    "s": 42.017,
    "l": 53.333
  },
  "oklch": {
    "l": 0.72551,
    "c": 0.14652,
    "h": 134.4
  },
  "luminance": 0.40225
}

Semantic roles & 50–950 ramp

primary
#7EBA56
secondary
#BAA0CB
accent
#56D2A0
background
#FAFCF8
surface
#F4F9F0
border
#CED2CB
text
#10140C
muted
#7F827D

Preview Lab

Preview with #7EBA56

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

Preview Lab → · Contrast checker → · Palette generator →

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