#7EAB2B#7EAB2B

#7EAB2B is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.5% C 0.160 H 127.4°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#7EAB2B
RGBrgb(126, 171, 43)
HSLhsl(81, 60%, 42%)
HSVhsv(81, 75%, 67%)
CMYKcmyk(26.3%, 0%, 74.9%, 32.9%)
CIE-LABlab(64.75, -33.79, 57.05)
CIE-LCHlch(64.75, 66.31, 120.64°)
OKLaboklab(68.47% -0.0971 0.127)
OKLCHoklch(68.47% 0.16 127.4)
XYZxyz(23.6032, 33.7354, 7.5531)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB2B #582BAB
analogous
#AB982B #7EAB2B #3EAB2B
triadic
#7EAB2B #2B7EAB #AB2B7E
tetradic
#7EAB2B #2BAB98 #582BAB #AB2B3E
square
#7EAB2B #2BAB98 #582BAB #AB2B3E
split-complementary
#7EAB2B #2B3EAB #982BAB
monochromatic
#364912 #5A7A1F #7EAB2B #9ED043 #B8DC74

Accessibility & contrast

On white

2.71
#7EAB2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#7EAB2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAB2B
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAB2B#FFFFFF#000000##000000
##7EAB2B1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F10
Deuteranopia (green-blind)
#AE9C37
Tritanopia (blue-blind)
#83A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab2b;
/* rgb */ color: rgb(126, 171, 43);
/* oklch */ color: oklch(68.5% 0.160 127.4);
Tailwind
colors: {
  custom: {
    50: '#a7c46e',
    500: '#7eab2b',
    950: '#000000',
  },
}
SCSS
$custom: #7eab2b;
$custom-light: #a7c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab2b",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 43
  },
  "hsl": {
    "h": 81.094,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6847,
    "c": 0.15984,
    "h": 127.4
  },
  "luminance": 0.33736
}

Semantic roles & 50–950 ramp

primary
#7EAB2B
secondary
#8C6EC4
accent
#45E37C
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAB2B

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

Preview Lab → · Contrast checker → · Palette generator →

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