#7EAB2D#7EAB2D

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

Color values

HEX#7EAB2D
RGBrgb(126, 171, 45)
HSLhsl(81, 58%, 42%)
HSVhsv(81, 74%, 67%)
CMYKcmyk(26.3%, 0%, 73.7%, 32.9%)
CIE-LABlab(64.76, -33.68, 56.36)
CIE-LCHlch(64.76, 65.65, 120.86°)
OKLaboklab(68.48% -0.0966 0.1258)
OKLCHoklch(68.48% 0.159 127.5)
XYZxyz(23.6408, 33.7504, 7.7511)
Luminance0.3375 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAB2D #5A2DAB
analogous
#AB992D #7EAB2D #3FAB2D
triadic
#7EAB2D #2D7EAB #AB2D7E
tetradic
#7EAB2D #2DAB99 #5A2DAB #AB2D3F
square
#7EAB2D #2DAB99 #5A2DAB #AB2D3F
split-complementary
#7EAB2D #2D3FAB #992DAB
monochromatic
#374A14 #5A7B20 #7EAB2D #9ECE47 #B7DB77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAB2D#FFFFFF#000000##000000
##7EAB2D1.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)
#B49F14
Deuteranopia (green-blind)
#AE9C39
Tritanopia (blue-blind)
#83A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7eab2d;
/* rgb */ color: rgb(126, 171, 45);
/* oklch */ color: oklch(68.5% 0.159 127.5);
Tailwind
colors: {
  custom: {
    50: '#a7c46f',
    500: '#7eab2d',
    950: '#000000',
  },
}
SCSS
$custom: #7eab2d;
$custom-light: #a7c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7eab2d",
  "rgb": {
    "r": 126,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 81.429,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68483,
    "c": 0.15865,
    "h": 127.5
  },
  "luminance": 0.33751
}

Semantic roles & 50–950 ramp

primary
#7EAB2D
secondary
#8E71C3
accent
#46E27E
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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