#7EBB31#7EBB31

#7EBB31 is a light, vivid yellow-green. Relative luminance 0.402; OKLCH L 72.4% C 0.176 H 130.8°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#7EBB31
RGBrgb(126, 187, 49)
HSLhsl(87, 58%, 46%)
HSVhsv(87, 74%, 73%)
CMYKcmyk(32.6%, 0%, 73.8%, 26.7%)
CIE-LABlab(69.61, -40.61, 59.70)
CIE-LCHlch(69.61, 72.20, 124.23°)
OKLaboklab(72.43% -0.1152 0.1335)
OKLCHoklch(72.43% 0.176 130.8)
XYZxyz(26.9287, 40.1971, 9.2451)
Luminance0.4020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBB31 #6E31BB
analogous
#BBB331 #7EBB31 #39BB31
triadic
#7EBB31 #317EBB #BB317E
tetradic
#7EBB31 #31BBB3 #6E31BB #BB3139
square
#7EBB31 #31BBB3 #6E31BB #BB3139
split-complementary
#7EBB31 #3139BB #B331BB
monochromatic
#3D5A18 #5D8B24 #7EBB31 #9CD356 #B8E087

Accessibility & contrast

On white

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

On black

9.04
#7EBB31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBB31
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBB31#FFFFFF#000000##000000
##7EBB311.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD15
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#81B3A0
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #7ebb31;
/* rgb */ color: rgb(126, 187, 49);
/* oklch */ color: oklch(72.4% 0.176 130.8);
Tailwind
colors: {
  custom: {
    50: '#a8d073',
    500: '#7ebb31',
    950: '#000000',
  },
}
SCSS
$custom: #7ebb31;
$custom-light: #a8d073;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebb31",
  "rgb": {
    "r": 126,
    "g": 187,
    "b": 49
  },
  "hsl": {
    "h": 86.522,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72433,
    "c": 0.1763,
    "h": 130.8
  },
  "luminance": 0.40198
}

Semantic roles & 50–950 ramp

primary
#7EBB31
secondary
#A07FC9
accent
#46E28B
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7EBB31

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

Preview Lab → · Contrast checker → · Palette generator →

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