#7DA42D#7DA42D

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

Color values

HEX#7DA42D
RGBrgb(125, 164, 45)
HSLhsl(80, 57%, 41%)
HSVhsv(80, 73%, 64%)
CMYKcmyk(23.8%, 0%, 72.6%, 35.7%)
CIE-LABlab(62.59, -30.80, 54.20)
CIE-LCHlch(62.59, 62.34, 119.61°)
OKLaboklab(66.71% -0.0887 0.1213)
OKLCHoklch(66.71% 0.15 126.2)
XYZxyz(22.2067, 31.1000, 7.3151)
Luminance0.3110 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA42D #542DA4
analogous
#A48F2D #7DA42D #41A42D
triadic
#7DA42D #2D7DA4 #A42D7D
tetradic
#7DA42D #2DA48F #542DA4 #A42D41
square
#7DA42D #2DA48F #542DA4 #A42D41
split-complementary
#7DA42D #2D41A4 #8F2DA4
monochromatic
#344413 #587420 #7DA42D #9FCB43 #B7D973

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7DA42D#FFFFFF#000000##000000
##7DA42D1.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)
#AD9918
Deuteranopia (green-blind)
#A79738
Tritanopia (blue-blind)
#829C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7da42d;
/* rgb */ color: rgb(125, 164, 45);
/* oklch */ color: oklch(66.7% 0.150 126.2);
Tailwind
colors: {
  custom: {
    50: '#a6bf6e',
    500: '#7da42d',
    950: '#000000',
  },
}
SCSS
$custom: #7da42d;
$custom-light: #a6bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#7da42d",
  "rgb": {
    "r": 125,
    "g": 164,
    "b": 45
  },
  "hsl": {
    "h": 79.664,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.66705,
    "c": 0.15031,
    "h": 126.2
  },
  "luminance": 0.311
}

Semantic roles & 50–950 ramp

primary
#7DA42D
secondary
#886DC0
accent
#48E07A
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101208
muted
#7F817B

Preview Lab

Preview with #7DA42D

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

Preview Lab → · Contrast checker → · Palette generator →

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