#3AAF40#3AAF40

#3AAF40 is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.183 H 143.9°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#3AAF40
RGBrgb(58, 175, 64)
HSLhsl(123, 50%, 46%)
HSVhsv(123, 67%, 69%)
CMYKcmyk(66.9%, 0%, 63.4%, 31.4%)
CIE-LABlab(63.28, -54.61, 46.27)
CIE-LCHlch(63.28, 71.58, 139.73°)
OKLaboklab(66.53% -0.148 0.1079)
OKLCHoklch(66.53% 0.183 143.9)
XYZxyz(17.9992, 31.9278, 10.0636)
Luminance0.3193 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3AAF40 #AF3AA9
analogous
#6EAF3A #3AAF40 #3AAF7A
triadic
#3AAF40 #403AAF #AF403A
tetradic
#3AAF40 #3A6EAF #AF3AA9 #AF7A3A
square
#3AAF40 #3A6EAF #AF3AA9 #AF7A3A
split-complementary
#3AAF40 #7A3AAF #AF3A6E
monochromatic
#1C531E #2B812F #3AAF40 #5DC962 #8BD98F

Accessibility & contrast

On white

2.84
#3AAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#3AAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #3AAF40
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3AAF40#FFFFFF#000000##000000
##3AAF401.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F33
Deuteranopia (green-blind)
#A4954A
Tritanopia (blue-blind)
#1BAA98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #3aaf40;
/* rgb */ color: rgb(58, 175, 64);
/* oklch */ color: oklch(66.5% 0.183 143.9);
Tailwind
colors: {
  custom: {
    50: '#7fc879',
    500: '#3aaf40',
    950: '#000000',
  },
}
SCSS
$custom: #3aaf40;
$custom-light: #7fc879;
$custom-dark: #000000;
JSON
{
  "hex": "#3aaf40",
  "rgb": {
    "r": 58,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 123.077,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.66534,
    "c": 0.18316,
    "h": 143.9
  },
  "luminance": 0.3193
}

Semantic roles & 50–950 ramp

primary
#3AAF40
secondary
#C382C0
accent
#4ED3DA
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #3AAF40

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

Preview Lab → · Contrast checker → · Palette generator →

#3AAF40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva