#7EB231#7EB231

#7EB231 is a light, vivid yellow-green. Relative luminance 0.365; OKLCH L 70.2% C 0.165 H 129.2°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#7EB231
RGBrgb(126, 178, 49)
HSLhsl(84, 57%, 45%)
HSVhsv(84, 72%, 70%)
CMYKcmyk(29.2%, 0%, 72.5%, 30.2%)
CIE-LABlab(66.90, -36.62, 57.02)
CIE-LCHlch(66.90, 67.77, 122.71°)
OKLaboklab(70.23% -0.1043 0.1279)
OKLCHoklch(70.23% 0.165 129.2)
XYZxyz(25.0789, 36.4975, 8.6285)
Luminance0.3650 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB231 #6531B2
analogous
#B2A631 #7EB231 #3EB231
triadic
#7EB231 #317EB2 #B2317E
tetradic
#7EB231 #31B2A6 #6531B2 #B2313E
square
#7EB231 #31B2A6 #6531B2 #B2313E
split-complementary
#7EB231 #313EB2 #A631B2
monochromatic
#3A5217 #5C8224 #7EB231 #9CCF51 #B8DC81

Accessibility & contrast

On white

2.53
#7EB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#7EB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB231
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB231#FFFFFF#000000##000000
##7EB2311.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51A
Deuteranopia (green-blind)
#B3A23D
Tritanopia (blue-blind)
#82AA99
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #7eb231;
/* rgb */ color: rgb(126, 178, 49);
/* oklch */ color: oklch(70.2% 0.165 129.2);
Tailwind
colors: {
  custom: {
    50: '#a7c972',
    500: '#7eb231',
    950: '#000000',
  },
}
SCSS
$custom: #7eb231;
$custom-light: #a7c972;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb231",
  "rgb": {
    "r": 126,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 84.186,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.70225,
    "c": 0.16502,
    "h": 129.2
  },
  "luminance": 0.36498
}

Semantic roles & 50–950 ramp

primary
#7EB231
secondary
#9879C5
accent
#48E085
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB231

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

Preview Lab → · Contrast checker → · Palette generator →

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