#3A8817#3A8817

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

Color values

HEX#3A8817
RGBrgb(58, 136, 23)
HSLhsl(101, 71%, 31%)
HSVhsv(101, 83%, 53%)
CMYKcmyk(57.4%, 0%, 83.1%, 46.7%)
CIE-LABlab(50.18, -43.80, 48.57)
CIE-LCHlch(50.18, 65.40, 132.05°)
OKLaboklab(55.61% -0.1211 0.1074)
OKLCHoklch(55.61% 0.162 138.4)
XYZxyz(10.7033, 18.5688, 3.8306)
Luminance0.1857 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8817 #651788
analogous
#728817 #3A8817 #17882C
triadic
#3A8817 #173A88 #88173A
tetradic
#3A8817 #177288 #651788 #882C17
square
#3A8817 #177288 #651788 #882C17
split-complementary
#3A8817 #2C1788 #881772
monochromatic
#0D1F05 #24540E #3A8817 #50BC20 #6EDE3B

Accessibility & contrast

On white

4.45
#3A8817 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##3A8817#FFFFFF#000000##000000
##3A88171.004.454.714.71
#FFFFFF4.451.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a8817;
/* rgb */ color: rgb(58, 136, 23);
/* oklch */ color: oklch(55.6% 0.162 138.4);
Tailwind
colors: {
  custom: {
    50: '#7aab5f',
    500: '#3a8817',
    950: '#000000',
  },
}
SCSS
$custom: #3a8817;
$custom-light: #7aab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8817",
  "rgb": {
    "r": 58,
    "g": 136,
    "b": 23
  },
  "hsl": {
    "h": 101.416,
    "s": 71.069,
    "l": 31.176
  },
  "oklch": {
    "l": 0.55605,
    "c": 0.16184,
    "h": 138.4
  },
  "luminance": 0.1857
}

Semantic roles & 50–950 ramp

primary
#3A8817
secondary
#953FBC
accent
#3AEEB6
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A8817

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

Preview Lab → · Contrast checker → · Palette generator →

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