#3A8E18#3A8E18

#3A8E18 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.169 H 138.9°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3A8E18
RGBrgb(58, 142, 24)
HSLhsl(103, 71%, 33%)
HSVhsv(103, 83%, 56%)
CMYKcmyk(59.2%, 0%, 83.1%, 44.3%)
CIE-LABlab(52.19, -46.02, 50.13)
CIE-LCHlch(52.19, 68.05, 132.55°)
OKLaboklab(57.26% -0.127 0.1108)
OKLCHoklch(57.26% 0.169 138.9)
XYZxyz(11.5823, 20.3105, 4.1739)
Luminance0.2031 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8E18 #6C188E
analogous
#758E18 #3A8E18 #188E31
triadic
#3A8E18 #183A8E #8E183A
tetradic
#3A8E18 #18758E #6C188E #8E3118
square
#3A8E18 #18758E #6C188E #8E3118
split-complementary
#3A8E18 #31188E #8E1875
monochromatic
#0F2506 #255A0F #3A8E18 #4FC221 #6FDF41

Accessibility & contrast

On white

4.15
#3A8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#3A8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8E18
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8E18#FFFFFF#000000##000000
##3A8E181.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A27
Tritanopia (blue-blind)
#318979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #3a8e18;
/* rgb */ color: rgb(58, 142, 24);
/* oklch */ color: oklch(57.3% 0.169 138.9);
Tailwind
colors: {
  custom: {
    50: '#7bb060',
    500: '#3a8e18',
    950: '#000000',
  },
}
SCSS
$custom: #3a8e18;
$custom-light: #7bb060;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8e18",
  "rgb": {
    "r": 58,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 102.712,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57264,
    "c": 0.16852,
    "h": 138.9
  },
  "luminance": 0.20311
}

Semantic roles & 50–950 ramp

primary
#3A8E18
secondary
#9B42C0
accent
#3AEEBA
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #3A8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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