#7EB12F#7EB12F

#7EB12F is a light, vivid yellow-green. Relative luminance 0.361; OKLCH L 70.0% C 0.165 H 128.9°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#7EB12F
RGBrgb(126, 177, 47)
HSLhsl(84, 58%, 44%)
HSVhsv(84, 73%, 69%)
CMYKcmyk(28.8%, 0%, 73.4%, 30.6%)
CIE-LABlab(66.58, -36.30, 57.43)
CIE-LCHlch(66.58, 67.94, 122.29°)
OKLaboklab(69.97% -0.1036 0.1284)
OKLCHoklch(69.97% 0.165 128.9)
XYZxyz(24.8394, 36.0845, 8.3451)
Luminance0.3609 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB12F #622FB1
analogous
#B1A32F #7EB12F #3DB12F
triadic
#7EB12F #2F7EB1 #B12F7E
tetradic
#7EB12F #2FB1A3 #622FB1 #B12F3D
square
#7EB12F #2FB1A3 #622FB1 #B12F3D
split-complementary
#7EB12F #2F3DB1 #A32FB1
monochromatic
#395015 #5C8122 #7EB12F #9DD04D #B7DD7E

Accessibility & contrast

On white

2.56
#7EB12F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.22
#7EB12F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB12F
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB12F#FFFFFF#000000##000000
##7EB12F1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA416
Deuteranopia (green-blind)
#B3A13B
Tritanopia (blue-blind)
#82A998
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb12f;
/* rgb */ color: rgb(126, 177, 47);
/* oklch */ color: oklch(70.0% 0.165 128.9);
Tailwind
colors: {
  custom: {
    50: '#a7c871',
    500: '#7eb12f',
    950: '#000000',
  },
}
SCSS
$custom: #7eb12f;
$custom-light: #a7c871;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb12f",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 47
  },
  "hsl": {
    "h": 83.538,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69966,
    "c": 0.16499,
    "h": 128.9
  },
  "luminance": 0.36085
}

Semantic roles & 50–950 ramp

primary
#7EB12F
secondary
#9576C5
accent
#47E183
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB12F

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

Preview Lab → · Contrast checker → · Palette generator →

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