#7EB631#7EB631

#7EB631 is a light, vivid yellow-green. Relative luminance 0.381; OKLCH L 71.2% C 0.170 H 130.0°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#7EB631
RGBrgb(126, 182, 49)
HSLhsl(85, 58%, 45%)
HSVhsv(85, 73%, 71%)
CMYKcmyk(30.8%, 0%, 73.1%, 28.6%)
CIE-LABlab(68.10, -38.41, 58.22)
CIE-LCHlch(68.10, 69.75, 123.42°)
OKLaboklab(71.21% -0.1092 0.1304)
OKLCHoklch(71.21% 0.17 130)
XYZxyz(25.8864, 38.1125, 8.8977)
Luminance0.3811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB631 #6931B6
analogous
#B6AB31 #7EB631 #3BB631
triadic
#7EB631 #317EB6 #B6317E
tetradic
#7EB631 #31B6AB #6931B6 #B6313B
square
#7EB631 #31B6AB #6931B6 #B6313B
split-complementary
#7EB631 #313BB6 #AB31B6
monochromatic
#3B5617 #5D8624 #7EB631 #9CD153 #B8DE84

Accessibility & contrast

On white

2.44
#7EB631 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#7EB631 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB631
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB631#FFFFFF#000000##000000
##7EB6311.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA918
Deuteranopia (green-blind)
#B7A53D
Tritanopia (blue-blind)
#81AE9C
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #7eb631;
/* rgb */ color: rgb(126, 182, 49);
/* oklch */ color: oklch(71.2% 0.170 130.0);
Tailwind
colors: {
  custom: {
    50: '#a8cc72',
    500: '#7eb631',
    950: '#000000',
  },
}
SCSS
$custom: #7eb631;
$custom-light: #a8cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb631",
  "rgb": {
    "r": 126,
    "g": 182,
    "b": 49
  },
  "hsl": {
    "h": 85.263,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.71206,
    "c": 0.17005,
    "h": 130
  },
  "luminance": 0.38113
}

Semantic roles & 50–950 ramp

primary
#7EB631
secondary
#9B7CC7
accent
#47E188
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB631

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

Preview Lab → · Contrast checker → · Palette generator →

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