#7DA42A#7DA42A

#7DA42A is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.7% C 0.152 H 126.0°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#7DA42A
RGBrgb(125, 164, 42)
HSLhsl(79, 59%, 40%)
HSVhsv(79, 74%, 64%)
CMYKcmyk(23.8%, 0%, 74.4%, 35.7%)
CIE-LABlab(62.57, -30.98, 55.27)
CIE-LCHlch(62.57, 63.36, 119.27°)
OKLaboklab(66.68% -0.0894 0.1231)
OKLCHoklch(66.68% 0.152 126)
XYZxyz(22.1509, 31.0777, 7.0216)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA42A #512AA4
analogous
#A48E2A #7DA42A #40A42A
triadic
#7DA42A #2A7DA4 #A42A7D
tetradic
#7DA42A #2AA48E #512AA4 #A42A40
square
#7DA42A #2AA48E #512AA4 #A42A40
split-complementary
#7DA42A #2A40A4 #8E2AA4
monochromatic
#334311 #58731E #7DA42A #A0CD3E #B8DA6E

Accessibility & contrast

On white

2.91
#7DA42A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#7DA42A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DA42A
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DA42A#FFFFFF#000000##000000
##7DA42A1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9911
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#829C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7da42a;
/* rgb */ color: rgb(125, 164, 42);
/* oklch */ color: oklch(66.7% 0.152 126.0);
Tailwind
colors: {
  custom: {
    50: '#a6bf6c',
    500: '#7da42a',
    950: '#000000',
  },
}
SCSS
$custom: #7da42a;
$custom-light: #a6bf6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7da42a",
  "rgb": {
    "r": 125,
    "g": 164,
    "b": 42
  },
  "hsl": {
    "h": 79.18,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.66684,
    "c": 0.15216,
    "h": 126
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#7DA42A
secondary
#8569C1
accent
#45E278
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7DA42A

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

Preview Lab → · Contrast checker → · Palette generator →

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