#7DAF40#7DAF40

#7DAF40 is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.6% C 0.151 H 130.1°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7DAF40
RGBrgb(125, 175, 64)
HSLhsl(87, 46%, 47%)
HSVhsv(87, 63%, 69%)
CMYKcmyk(28.6%, 0%, 63.4%, 31.4%)
CIE-LABlab(66.05, -34.54, 50.11)
CIE-LCHlch(66.05, 60.86, 124.58°)
OKLaboklab(69.56% -0.0973 0.1154)
OKLCHoklch(69.56% 0.151 130.1)
XYZxyz(24.7126, 35.3894, 10.3783)
Luminance0.3539 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DAF40 #7240AF
analogous
#AFAA40 #7DAF40 #45AF40
triadic
#7DAF40 #407DAF #AF407D
tetradic
#7DAF40 #40AFAA #7240AF #AF4045
square
#7DAF40 #40AFAA #7240AF #AF4045
split-complementary
#7DAF40 #4045AF #AA40AF
monochromatic
#3D551F #5D8230 #7DAF40 #9BC765 #B8D792

Accessibility & contrast

On white

2.60
#7DAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#7DAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DAF40
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DAF40#FFFFFF#000000##000000
##7DAF401.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A333
Deuteranopia (green-blind)
#B09F48
Tritanopia (blue-blind)
#80A898
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7daf40;
/* rgb */ color: rgb(125, 175, 64);
/* oklch */ color: oklch(69.6% 0.151 130.1);
Tailwind
colors: {
  custom: {
    50: '#a6c77a',
    500: '#7daf40',
    950: '#000000',
  },
}
SCSS
$custom: #7daf40;
$custom-light: #a6c77a;
$custom-dark: #000000;
JSON
{
  "hex": "#7daf40",
  "rgb": {
    "r": 125,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 87.027,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.69558,
    "c": 0.15095,
    "h": 130.1
  },
  "luminance": 0.3539
}

Semantic roles & 50–950 ramp

primary
#7DAF40
secondary
#A388C3
accent
#52D68D
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7DAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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