#3A8815#3A8815

#3A8815 is a mid, vivid green. Relative luminance 0.186; OKLCH L 55.6% C 0.163 H 138.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3A8815
RGBrgb(58, 136, 21)
HSLhsl(101, 73%, 31%)
HSVhsv(101, 85%, 53%)
CMYKcmyk(57.4%, 0%, 84.6%, 46.7%)
CIE-LABlab(50.17, -43.91, 49.14)
CIE-LCHlch(50.17, 65.90, 131.78°)
OKLaboklab(55.59% -0.1214 0.1083)
OKLCHoklch(55.59% 0.163 138.3)
XYZxyz(10.6840, 18.5611, 3.7290)
Luminance0.1856 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8815 #631588
analogous
#738815 #3A8815 #15882A
triadic
#3A8815 #153A88 #88153A
tetradic
#3A8815 #157388 #631588 #882A15
square
#3A8815 #157388 #631588 #882A15
split-complementary
#3A8815 #2A1588 #881573
monochromatic
#0D1E05 #23530D #3A8815 #51BD1D #6EE037

Accessibility & contrast

On white

4.46
#3A8815 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#3A8815 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8815
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8815#FFFFFF#000000##000000
##3A88151.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#837524
Tritanopia (blue-blind)
#338373
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #3a8815;
/* rgb */ color: rgb(58, 136, 21);
/* oklch */ color: oklch(55.6% 0.163 138.3);
Tailwind
colors: {
  custom: {
    50: '#7aab5e',
    500: '#3a8815',
    950: '#000000',
  },
}
SCSS
$custom: #3a8815;
$custom-light: #7aab5e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8815",
  "rgb": {
    "r": 58,
    "g": 136,
    "b": 21
  },
  "hsl": {
    "h": 100.696,
    "s": 73.248,
    "l": 30.784
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.16272,
    "h": 138.3
  },
  "luminance": 0.18562
}

Semantic roles & 50–950 ramp

primary
#3A8815
secondary
#933DBC
accent
#38F0B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8815

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

Preview Lab → · Contrast checker → · Palette generator →

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