#3A8F2A#3A8F2A

#3A8F2A is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.159 H 140.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#3A8F2A
RGBrgb(58, 143, 42)
HSLhsl(110, 55%, 36%)
HSVhsv(110, 71%, 56%)
CMYKcmyk(59.4%, 0%, 70.6%, 43.9%)
CIE-LABlab(52.63, -45.10, 44.15)
CIE-LCHlch(52.63, 63.11, 135.61°)
OKLaboklab(57.67% -0.1234 0.1009)
OKLCHoklch(57.67% 0.159 140.7)
XYZxyz(11.9847, 20.7106, 5.5560)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A8F2A #7F2A8F
analogous
#6D8F2A #3A8F2A #2A8F4D
triadic
#3A8F2A #2A3A8F #8F2A3A
tetradic
#3A8F2A #2A6D8F #7F2A8F #8F4D2A
square
#3A8F2A #2A6D8F #7F2A8F #8F4D2A
split-complementary
#3A8F2A #4D2A8F #8F2A6D
monochromatic
#14300E #27601C #3A8F2A #4DBE38 #74D162

Accessibility & contrast

On white

4.08
#3A8F2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#3A8F2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A8F2A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A8F2A#FFFFFF#000000##000000
##3A8F2A1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93821B
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#2F8A7B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #3a8f2a;
/* rgb */ color: rgb(58, 143, 42);
/* oklch */ color: oklch(57.7% 0.159 140.7);
Tailwind
colors: {
  custom: {
    50: '#7ab169',
    500: '#3a8f2a',
    950: '#000000',
  },
}
SCSS
$custom: #3a8f2a;
$custom-light: #7ab169;
$custom-dark: #000000;
JSON
{
  "hex": "#3a8f2a",
  "rgb": {
    "r": 58,
    "g": 143,
    "b": 42
  },
  "hsl": {
    "h": 110.495,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.57668,
    "c": 0.15942,
    "h": 140.7
  },
  "luminance": 0.20712
}

Semantic roles & 50–950 ramp

primary
#3A8F2A
secondary
#A95EB7
accent
#4ADEC6
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #3A8F2A

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

Preview Lab → · Contrast checker → · Palette generator →

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