#7EB123#7EB123

#7EB123 is a light, vivid yellow-green. Relative luminance 0.360; OKLCH L 69.9% C 0.171 H 128.3°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#7EB123
RGBrgb(126, 177, 35)
HSLhsl(82, 67%, 42%)
HSVhsv(82, 80%, 69%)
CMYKcmyk(28.8%, 0%, 80.2%, 30.6%)
CIE-LABlab(66.52, -36.92, 61.25)
CIE-LCHlch(66.52, 71.52, 121.08°)
OKLaboklab(69.89% -0.1062 0.1345)
OKLCHoklch(69.89% 0.171 128.3)
XYZxyz(24.6297, 36.0006, 7.2410)
Luminance0.3600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB123 #5623B1
analogous
#B19D23 #7EB123 #37B123
triadic
#7EB123 #237EB1 #B1237E
tetradic
#7EB123 #23B19D #5623B1 #B12337
square
#7EB123 #23B19D #5623B1 #B12337
split-complementary
#7EB123 #2337B1 #9D23B1
monochromatic
#354B0F #5A7E19 #7EB123 #9FD839 #B8E26C

Accessibility & contrast

On white

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

On black

8.20
#7EB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB123
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB123#FFFFFF#000000##000000
##7EB1231.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#B3A133
Tritanopia (blue-blind)
#83A997
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #7eb123;
/* rgb */ color: rgb(126, 177, 35);
/* oklch */ color: oklch(69.9% 0.171 128.3);
Tailwind
colors: {
  custom: {
    50: '#a8c86b',
    500: '#7eb123',
    950: '#000000',
  },
}
SCSS
$custom: #7eb123;
$custom-light: #a8c86b;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb123",
  "rgb": {
    "r": 126,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 81.549,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.69894,
    "c": 0.17138,
    "h": 128.3
  },
  "luminance": 0.36001
}

Semantic roles & 50–950 ramp

primary
#7EB123
secondary
#8A68C8
accent
#3EEA7C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101307
muted
#7F827A

Preview Lab

Preview with #7EB123

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

Preview Lab → · Contrast checker → · Palette generator →

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