#7EBA31#7EBA31

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

Color values

HEX#7EBA31
RGBrgb(126, 186, 49)
HSLhsl(86, 58%, 46%)
HSVhsv(86, 74%, 73%)
CMYKcmyk(32.3%, 0%, 73.7%, 27.1%)
CIE-LABlab(69.31, -40.18, 59.40)
CIE-LCHlch(69.31, 71.71, 124.07°)
OKLaboklab(72.19% -0.114 0.1328)
OKLCHoklch(72.19% 0.175 130.6)
XYZxyz(26.7173, 39.7743, 9.1747)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBA31 #6D31BA
analogous
#BAB131 #7EBA31 #3ABA31
triadic
#7EBA31 #317EBA #BA317E
tetradic
#7EBA31 #31BAB1 #6D31BA #BA313A
square
#7EBA31 #31BAB1 #6D31BA #BA313A
split-complementary
#7EBA31 #313ABA #B131BA
monochromatic
#3C5917 #5D8A24 #7EBA31 #9CD256 #B8DF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EBA31#FFFFFF#000000##000000
##7EBA311.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)
#C2AC16
Deuteranopia (green-blind)
#BAA83E
Tritanopia (blue-blind)
#81B2A0
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #7eba31;
/* rgb */ color: rgb(126, 186, 49);
/* oklch */ color: oklch(72.2% 0.175 130.6);
Tailwind
colors: {
  custom: {
    50: '#a8cf73',
    500: '#7eba31',
    950: '#000000',
  },
}
SCSS
$custom: #7eba31;
$custom-light: #a8cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#7eba31",
  "rgb": {
    "r": 126,
    "g": 186,
    "b": 49
  },
  "hsl": {
    "h": 86.277,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72187,
    "c": 0.17505,
    "h": 130.6
  },
  "luminance": 0.39775
}

Semantic roles & 50–950 ramp

primary
#7EBA31
secondary
#9F7EC9
accent
#46E28A
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7EBA31

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

Preview Lab → · Contrast checker → · Palette generator →

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