#3A8F4E#3A8F4E

#3A8F4E is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.128 H 148.7°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#3A8F4E
RGBrgb(58, 143, 78)
HSLhsl(134, 42%, 39%)
HSVhsv(134, 59%, 56%)
CMYKcmyk(59.4%, 0%, 45.5%, 43.9%)
CIE-LABlab(53.05, -40.41, 27.06)
CIE-LCHlch(53.05, 48.63, 146.19°)
OKLaboklab(58.15% -0.1093 0.0665)
OKLCHoklch(58.15% 0.128 148.7)
XYZxyz(12.9416, 21.0933, 10.5957)
Luminance0.2109 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8F4E #8F3A7B
analogous
#508F3A #3A8F4E #3A8F79
triadic
#3A8F4E #4E3A8F #8F4E3A
tetradic
#3A8F4E #3A508F #8F3A7B #8F793A
square
#3A8F4E #3A508F #8F3A7B #8F793A
split-complementary
#3A8F4E #793A8F #8F3A50
monochromatic
#17381F #286336 #3A8F4E #4FB767 #7AC98D

Accessibility & contrast

On white

4.02
#3A8F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#3A8F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8F4E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8F4E#FFFFFF#000000##000000
##3A8F4E1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#857C52
Tritanopia (blue-blind)
#258C7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #3a8f4e;
/* rgb */ color: rgb(58, 143, 78);
/* oklch */ color: oklch(58.1% 0.128 148.7);
Tailwind
colors: {
  custom: {
    50: '#78b080',
    500: '#3a8f4e',
    950: '#000000',
  },
}
SCSS
$custom: #3a8f4e;
$custom-light: #78b080;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8f4e",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 134.118,
    "s": 42.289,
    "l": 39.412
  },
  "oklch": {
    "l": 0.5815,
    "c": 0.12793,
    "h": 148.7
  },
  "luminance": 0.21095
}

Semantic roles & 50–950 ramp

primary
#3A8F4E
secondary
#B372A3
accent
#56B5D2
background
#F7FAF7
surface
#EEF5EE
border
#C9CFC9
text
#0A110A
muted
#7C807C

Preview Lab

Preview with #3A8F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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