#7DA42B#7DA42B

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

Color values

HEX#7DA42B
RGBrgb(125, 164, 43)
HSLhsl(79, 58%, 41%)
HSVhsv(79, 74%, 64%)
CMYKcmyk(23.8%, 0%, 73.8%, 35.7%)
CIE-LABlab(62.58, -30.92, 54.92)
CIE-LCHlch(62.58, 63.03, 119.38°)
OKLaboklab(66.69% -0.0892 0.1225)
OKLCHoklch(66.69% 0.152 126.1)
XYZxyz(22.1691, 31.0850, 7.1171)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA42B #522BA4
analogous
#A48E2B #7DA42B #40A42B
triadic
#7DA42B #2B7DA4 #A42B7D
tetradic
#7DA42B #2BA48E #522BA4 #A42B40
square
#7DA42B #2BA48E #522BA4 #A42B40
split-complementary
#7DA42B #2B40A4 #8E2BA4
monochromatic
#334312 #58741E #7DA42B #9FCD3F #B7D970

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7DA42B#FFFFFF#000000##000000
##7DA42B1.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)
#AD9914
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#829C8D
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7da42b;
/* rgb */ color: rgb(125, 164, 43);
/* oklch */ color: oklch(66.7% 0.152 126.1);
Tailwind
colors: {
  custom: {
    50: '#a6bf6d',
    500: '#7da42b',
    950: '#000000',
  },
}
SCSS
$custom: #7da42b;
$custom-light: #a6bf6d;
$custom-dark: #000000;
JSON
{
  "hex": "#7da42b",
  "rgb": {
    "r": 125,
    "g": 164,
    "b": 43
  },
  "hsl": {
    "h": 79.339,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66691,
    "c": 0.15155,
    "h": 126.1
  },
  "luminance": 0.31085
}

Semantic roles & 50–950 ramp

primary
#7DA42B
secondary
#866AC1
accent
#46E278
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7DA42B

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

Preview Lab → · Contrast checker → · Palette generator →

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