#7EB031#7EB031

#7EB031 is a light, vivid yellow-green. Relative luminance 0.357; OKLCH L 69.7% C 0.163 H 128.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#7EB031
RGBrgb(126, 176, 49)
HSLhsl(84, 56%, 44%)
HSVhsv(84, 72%, 69%)
CMYKcmyk(28.4%, 0%, 72.2%, 31%)
CIE-LABlab(66.30, -35.72, 56.42)
CIE-LCHlch(66.30, 66.78, 122.34°)
OKLaboklab(69.74% -0.1019 0.1266)
OKLCHoklch(69.74% 0.163 128.8)
XYZxyz(24.6838, 35.7074, 8.4969)
Luminance0.3571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB031 #6331B0
analogous
#B0A331 #7EB031 #3FB031
triadic
#7EB031 #317EB0 #B0317E
tetradic
#7EB031 #31B0A3 #6331B0 #B0313F
square
#7EB031 #31B0A3 #6331B0 #B0313F
split-complementary
#7EB031 #313FB0 #A331B0
monochromatic
#395016 #5C8024 #7EB031 #9DCE50 #B7DC80

Accessibility & contrast

On white

2.58
#7EB031 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#7EB031 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB031
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB031#FFFFFF#000000##000000
##7EB0311.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A31A
Deuteranopia (green-blind)
#B2A03D
Tritanopia (blue-blind)
#82A897
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eb031;
/* rgb */ color: rgb(126, 176, 49);
/* oklch */ color: oklch(69.7% 0.163 128.8);
Tailwind
colors: {
  custom: {
    50: '#a7c871',
    500: '#7eb031',
    950: '#000000',
  },
}
SCSS
$custom: #7eb031;
$custom-light: #a7c871;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb031",
  "rgb": {
    "r": 126,
    "g": 176,
    "b": 49
  },
  "hsl": {
    "h": 83.622,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69736,
    "c": 0.1625,
    "h": 128.8
  },
  "luminance": 0.35708
}

Semantic roles & 50–950 ramp

primary
#7EB031
secondary
#9678C5
accent
#48E084
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB031

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

Preview Lab → · Contrast checker → · Palette generator →

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