#7EA72B#7EA72B

#7EA72B is a light, vivid yellow-green. Relative luminance 0.322; OKLCH L 67.5% C 0.155 H 126.5°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#7EA72B
RGBrgb(126, 167, 43)
HSLhsl(80, 59%, 41%)
HSVhsv(80, 74%, 65%)
CMYKcmyk(24.6%, 0%, 74.3%, 34.5%)
CIE-LABlab(63.55, -31.93, 55.88)
CIE-LCHlch(63.55, 64.36, 119.75°)
OKLaboklab(67.49% -0.092 0.1245)
OKLCHoklch(67.49% 0.155 126.5)
XYZxyz(22.8590, 32.2471, 7.3050)
Luminance0.3225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA72B #542BA7
analogous
#A7922B #7EA72B #40A72B
triadic
#7EA72B #2B7EA7 #A72B7E
tetradic
#7EA72B #2BA792 #542BA7 #A72B40
square
#7EA72B #2BA792 #542BA7 #A72B40
split-complementary
#7EA72B #2B40A7 #922BA7
monochromatic
#354612 #59761E #7EA72B #9FCE41 #B8DB72

Accessibility & contrast

On white

2.82
#7EA72B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#7EA72B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA72B
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA72B#FFFFFF#000000##000000
##7EA72B1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C12
Deuteranopia (green-blind)
#AA9936
Tritanopia (blue-blind)
#839F8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea72b;
/* rgb */ color: rgb(126, 167, 43);
/* oklch */ color: oklch(67.5% 0.155 126.5);
Tailwind
colors: {
  custom: {
    50: '#a7c16d',
    500: '#7ea72b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea72b;
$custom-light: #a7c16d;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea72b",
  "rgb": {
    "r": 126,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 79.839,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67492,
    "c": 0.15483,
    "h": 126.5
  },
  "luminance": 0.32247
}

Semantic roles & 50–950 ramp

primary
#7EA72B
secondary
#886CC2
accent
#46E279
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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