#3A8A38#3A8A38

#3A8A38 is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.5% C 0.142 H 143.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#3A8A38
RGBrgb(58, 138, 56)
HSLhsl(119, 42%, 38%)
HSVhsv(119, 59%, 54%)
CMYKcmyk(58%, 0%, 59.4%, 45.9%)
CIE-LABlab(51.11, -41.62, 36.08)
CIE-LCHlch(51.11, 55.08, 139.08°)
OKLaboklab(56.45% -0.1132 0.0853)
OKLCHoklch(56.45% 0.142 143)
XYZxyz(11.5466, 19.3610, 6.8692)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8A38 #88388A
analogous
#638A38 #3A8A38 #388A5F
triadic
#3A8A38 #383A8A #8A383A
tetradic
#3A8A38 #38638A #88388A #8A5F38
square
#3A8A38 #38638A #88388A #8A5F38
split-complementary
#3A8A38 #5F388A #8A3863
monochromatic
#153315 #285E26 #3A8A38 #4CB54A #77C775

Accessibility & contrast

On white

4.31
#3A8A38 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#3A8A38 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8A38
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8A38#FFFFFF#000000##000000
##3A8A381.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E30
Deuteranopia (green-blind)
#83773E
Tritanopia (blue-blind)
#2D8678
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #3a8a38;
/* rgb */ color: rgb(58, 138, 56);
/* oklch */ color: oklch(56.5% 0.142 143.0);
Tailwind
colors: {
  custom: {
    50: '#78ad71',
    500: '#3a8a38',
    950: '#000000',
  },
}
SCSS
$custom: #3a8a38;
$custom-light: #78ad71;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8a38",
  "rgb": {
    "r": 58,
    "g": 138,
    "b": 56
  },
  "hsl": {
    "h": 118.537,
    "s": 42.268,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56454,
    "c": 0.14173,
    "h": 143
  },
  "luminance": 0.19362
}

Semantic roles & 50–950 ramp

primary
#3A8A38
secondary
#AE6EB0
accent
#56D2CF
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #3A8A38

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

Preview Lab → · Contrast checker → · Palette generator →

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