#7DAB2C#7DAB2C

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

Color values

HEX#7DAB2C
RGBrgb(125, 171, 44)
HSLhsl(82, 59%, 42%)
HSVhsv(82, 74%, 67%)
CMYKcmyk(26.9%, 0%, 74.3%, 32.9%)
CIE-LABlab(64.70, -34.13, 56.63)
CIE-LCHlch(64.70, 66.12, 121.07°)
OKLaboklab(68.41% -0.0979 0.1263)
OKLCHoklch(68.41% 0.16 127.8)
XYZxyz(23.4750, 33.6671, 7.6440)
Luminance0.3367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAB2C #5A2CAB
analogous
#AB9A2C #7DAB2C #3EAB2C
triadic
#7DAB2C #2C7DAB #AB2C7D
tetradic
#7DAB2C #2CAB9A #5A2CAB #AB2C3E
square
#7DAB2C #2CAB9A #5A2CAB #AB2C3E
split-complementary
#7DAB2C #2C3EAB #9A2CAB
monochromatic
#364A13 #597A1F #7DAB2C #9DCF45 #B7DC76

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7DAB2C#FFFFFF#000000##000000
##7DAB2C1.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)
#B49F12
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#82A393
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #7dab2c;
/* rgb */ color: rgb(125, 171, 44);
/* oklch */ color: oklch(68.4% 0.160 127.8);
Tailwind
colors: {
  custom: {
    50: '#a7c46e',
    500: '#7dab2c',
    950: '#000000',
  },
}
SCSS
$custom: #7dab2c;
$custom-light: #a7c46e;
$custom-dark: #000000;
JSON
{
  "hex": "#7dab2c",
  "rgb": {
    "r": 125,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 81.732,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68412,
    "c": 0.15975,
    "h": 127.8
  },
  "luminance": 0.33668
}

Semantic roles & 50–950 ramp

primary
#7DAB2C
secondary
#8E6FC3
accent
#46E27E
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7DAB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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