#3A8418#3A8418

#3A8418 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.157 H 138.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#3A8418
RGBrgb(58, 132, 24)
HSLhsl(101, 69%, 31%)
HSVhsv(101, 82%, 52%)
CMYKcmyk(56.1%, 0%, 81.8%, 48.2%)
CIE-LABlab(48.84, -42.20, 47.02)
CIE-LCHlch(48.84, 63.18, 131.91°)
OKLaboklab(54.5% -0.1167 0.1043)
OKLCHoklch(54.5% 0.157 138.2)
XYZxyz(10.1607, 17.4672, 3.7001)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8418 #621884
analogous
#708418 #3A8418 #18842C
triadic
#3A8418 #183A84 #84183A
tetradic
#3A8418 #187084 #621884 #842C18
square
#3A8418 #187084 #621884 #842C18
split-complementary
#3A8418 #2C1884 #841870
monochromatic
#0C1C05 #23500F #3A8418 #51B821 #6EDB3B

Accessibility & contrast

On white

4.67
#3A8418 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#3A8418 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8418
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8418#FFFFFF#000000##FFFFFF
##3A84181.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#347F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3a8418;
/* rgb */ color: rgb(58, 132, 24);
/* oklch */ color: oklch(54.5% 0.157 138.2);
Tailwind
colors: {
  custom: {
    50: '#79a85f',
    500: '#3a8418',
    950: '#000000',
  },
}
SCSS
$custom: #3a8418;
$custom-light: #79a85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8418",
  "rgb": {
    "r": 58,
    "g": 132,
    "b": 24
  },
  "hsl": {
    "h": 101.111,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54504,
    "c": 0.15652,
    "h": 138.2
  },
  "luminance": 0.17468
}

Semantic roles & 50–950 ramp

primary
#3A8418
secondary
#9240B8
accent
#3CECB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8418

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

Preview Lab → · Contrast checker → · Palette generator →

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