#3A8018#3A8018

#3A8018 is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.152 H 137.9°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#3A8018
RGBrgb(58, 128, 24)
HSLhsl(100, 68%, 30%)
HSVhsv(100, 81%, 50%)
CMYKcmyk(54.7%, 0%, 81.3%, 49.8%)
CIE-LABlab(47.50, -40.62, 45.75)
CIE-LCHlch(47.50, 61.18, 131.60°)
OKLaboklab(53.4% -0.1125 0.1017)
OKLCHoklch(53.4% 0.152 137.9)
XYZxyz(9.6286, 16.4031, 3.5227)
Luminance0.1640 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8018 #5E1880
analogous
#6E8018 #3A8018 #18802A
triadic
#3A8018 #183A80 #80183A
tetradic
#3A8018 #186E80 #5E1880 #802A18
square
#3A8018 #186E80 #5E1880 #802A18
split-complementary
#3A8018 #2A1880 #80186E
monochromatic
#0C1A05 #234C0E #3A8018 #51B422 #6DDA39

Accessibility & contrast

On white

4.91
#3A8018 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#3A8018 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8018
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8018#FFFFFF#000000##FFFFFF
##3A80181.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847400
Deuteranopia (green-blind)
#7B6F24
Tritanopia (blue-blind)
#347B6D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #3a8018;
/* rgb */ color: rgb(58, 128, 24);
/* oklch */ color: oklch(53.4% 0.152 137.9);
Tailwind
colors: {
  custom: {
    50: '#78a55e',
    500: '#3a8018',
    950: '#000000',
  },
}
SCSS
$custom: #3a8018;
$custom-light: #78a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8018",
  "rgb": {
    "r": 58,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 100.385,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53396,
    "c": 0.1516,
    "h": 137.9
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#3A8018
secondary
#8E40B4
accent
#3DEBB2
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3A8018

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

Preview Lab → · Contrast checker → · Palette generator →

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