#7DAB2A#7DAB2A

#7DAB2A is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.4% C 0.161 H 127.7°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#7DAB2A
RGBrgb(125, 171, 42)
HSLhsl(81, 61%, 42%)
HSVhsv(81, 75%, 67%)
CMYKcmyk(26.9%, 0%, 75.4%, 32.9%)
CIE-LABlab(64.69, -34.24, 57.31)
CIE-LCHlch(64.69, 66.76, 120.86°)
OKLaboklab(68.4% -0.0983 0.1274)
OKLCHoklch(68.4% 0.161 127.7)
XYZxyz(23.4383, 33.6525, 7.4507)
Luminance0.3365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAB2A #582AAB
analogous
#AB992A #7DAB2A #3DAB2A
triadic
#7DAB2A #2A7DAB #AB2A7D
tetradic
#7DAB2A #2AAB99 #582AAB #AB2A3D
square
#7DAB2A #2AAB99 #582AAB #AB2A3D
split-complementary
#7DAB2A #2A3DAB #992AAB
monochromatic
#354912 #597A1E #7DAB2A #9ED142 #B7DD73

Accessibility & contrast

On white

2.72
#7DAB2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.73
#7DAB2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAB2A
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAB2A#FFFFFF#000000##000000
##7DAB2A1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F0D
Deuteranopia (green-blind)
#AD9C36
Tritanopia (blue-blind)
#82A392
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7dab2a;
/* rgb */ color: rgb(125, 171, 42);
/* oklch */ color: oklch(68.4% 0.161 127.7);
Tailwind
colors: {
  custom: {
    50: '#a7c46d',
    500: '#7dab2a',
    950: '#000000',
  },
}
SCSS
$custom: #7dab2a;
$custom-light: #a7c46d;
$custom-dark: #000000;
JSON
{
  "hex": "#7dab2a",
  "rgb": {
    "r": 125,
    "g": 171,
    "b": 42
  },
  "hsl": {
    "h": 81.395,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68398,
    "c": 0.16092,
    "h": 127.7
  },
  "luminance": 0.33653
}

Semantic roles & 50–950 ramp

primary
#7DAB2A
secondary
#8C6DC4
accent
#44E47D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7DAB2A

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

Preview Lab → · Contrast checker → · Palette generator →

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