#7DAB2D#7DAB2D

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

Color values

HEX#7DAB2D
RGBrgb(125, 171, 45)
HSLhsl(82, 58%, 42%)
HSVhsv(82, 74%, 67%)
CMYKcmyk(26.9%, 0%, 73.7%, 32.9%)
CIE-LABlab(64.70, -34.07, 56.28)
CIE-LCHlch(64.70, 65.79, 121.19°)
OKLaboklab(68.42% -0.0976 0.1257)
OKLCHoklch(68.42% 0.159 127.8)
XYZxyz(23.4940, 33.6747, 7.7442)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAB2D #5B2DAB
analogous
#AB9A2D #7DAB2D #3EAB2D
triadic
#7DAB2D #2D7DAB #AB2D7D
tetradic
#7DAB2D #2DAB9A #5B2DAB #AB2D3E
square
#7DAB2D #2DAB9A #5B2DAB #AB2D3E
split-complementary
#7DAB2D #2D3EAB #9A2DAB
monochromatic
#364A14 #5A7B20 #7DAB2D #9DCE47 #B7DB77

Accessibility & contrast

On white

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

On black

7.74
#7DAB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAB2D
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAB2D#FFFFFF#000000##000000
##7DAB2D1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B49F14
Deuteranopia (green-blind)
#AD9C39
Tritanopia (blue-blind)
#82A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7dab2d;
/* rgb */ color: rgb(125, 171, 45);
/* oklch */ color: oklch(68.4% 0.159 127.8);
Tailwind
colors: {
  custom: {
    50: '#a6c46f',
    500: '#7dab2d',
    950: '#000000',
  },
}
SCSS
$custom: #7dab2d;
$custom-light: #a6c46f;
$custom-dark: #000000;
JSON
{
  "hex": "#7dab2d",
  "rgb": {
    "r": 125,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 81.905,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68418,
    "c": 0.15915,
    "h": 127.8
  },
  "luminance": 0.33675
}

Semantic roles & 50–950 ramp

primary
#7DAB2D
secondary
#8F71C3
accent
#46E27F
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7DAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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