#3A8518#3A8518

#3A8518 is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.158 H 138.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#3A8518
RGBrgb(58, 133, 24)
HSLhsl(101, 69%, 31%)
HSVhsv(101, 82%, 52%)
CMYKcmyk(56.4%, 0%, 82%, 47.8%)
CIE-LABlab(49.18, -42.59, 47.33)
CIE-LCHlch(49.18, 63.67, 131.98°)
OKLaboklab(54.78% -0.1177 0.105)
OKLCHoklch(54.78% 0.158 138.3)
XYZxyz(10.2969, 17.7397, 3.7455)
Luminance0.1774 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8518 #631885
analogous
#708518 #3A8518 #18852C
triadic
#3A8518 #183A85 #85183A
tetradic
#3A8518 #187085 #631885 #852C18
square
#3A8518 #187085 #631885 #852C18
split-complementary
#3A8518 #2C1885 #851870
monochromatic
#0D1D05 #23510F #3A8518 #51B921 #6EDC3C

Accessibility & contrast

On white

4.62
#3A8518 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#3A8518 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3A8518
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8518#FFFFFF#000000##FFFFFF
##3A85181.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897900
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#338071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3a8518;
/* rgb */ color: rgb(58, 133, 24);
/* oklch */ color: oklch(54.8% 0.158 138.3);
Tailwind
colors: {
  custom: {
    50: '#79a95f',
    500: '#3a8518',
    950: '#000000',
  },
}
SCSS
$custom: #3a8518;
$custom-light: #79a95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8518",
  "rgb": {
    "r": 58,
    "g": 133,
    "b": 24
  },
  "hsl": {
    "h": 101.284,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.54781,
    "c": 0.15775,
    "h": 138.3
  },
  "luminance": 0.17741
}

Semantic roles & 50–950 ramp

primary
#3A8518
secondary
#9340B9
accent
#3CECB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8518

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

Preview Lab → · Contrast checker → · Palette generator →

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