#3A8718#3A8718

#3A8718 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.160 H 138.4°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3A8718
RGBrgb(58, 135, 24)
HSLhsl(102, 70%, 31%)
HSVhsv(102, 82%, 53%)
CMYKcmyk(57%, 0%, 82.2%, 47.1%)
CIE-LABlab(49.85, -43.36, 47.96)
CIE-LCHlch(49.85, 64.66, 132.12°)
OKLaboklab(55.33% -0.1198 0.1063)
OKLCHoklch(55.33% 0.16 138.4)
XYZxyz(10.5734, 18.2926, 3.8376)
Luminance0.1829 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8718 #651887
analogous
#718718 #3A8718 #18872E
triadic
#3A8718 #183A87 #87183A
tetradic
#3A8718 #187187 #651887 #872E18
square
#3A8718 #187187 #651887 #872E18
split-complementary
#3A8718 #2E1887 #871871
monochromatic
#0D1F06 #24530F #3A8718 #50BB21 #6EDC3D

Accessibility & contrast

On white

4.51
#3A8718 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#3A8718 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8718
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8718#FFFFFF#000000##000000
##3A87181.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#827425
Tritanopia (blue-blind)
#338273
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a8718;
/* rgb */ color: rgb(58, 135, 24);
/* oklch */ color: oklch(55.3% 0.160 138.4);
Tailwind
colors: {
  custom: {
    50: '#7aab5f',
    500: '#3a8718',
    950: '#000000',
  },
}
SCSS
$custom: #3a8718;
$custom-light: #7aab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8718",
  "rgb": {
    "r": 58,
    "g": 135,
    "b": 24
  },
  "hsl": {
    "h": 101.622,
    "s": 69.811,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55334,
    "c": 0.16017,
    "h": 138.4
  },
  "luminance": 0.18293
}

Semantic roles & 50–950 ramp

primary
#3A8718
secondary
#9540BB
accent
#3BEDB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8718

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

Preview Lab → · Contrast checker → · Palette generator →

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