#3A831A#3A831A

#3A831A is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.154 H 138.3°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#3A831A
RGBrgb(58, 131, 26)
HSLhsl(102, 67%, 31%)
HSVhsv(102, 80%, 51%)
CMYKcmyk(55.7%, 0%, 80.2%, 48.6%)
CIE-LABlab(48.52, -41.68, 46.06)
CIE-LCHlch(48.52, 62.12, 132.14°)
OKLaboklab(54.24% -0.1152 0.1026)
OKLCHoklch(54.24% 0.154 138.3)
XYZxyz(10.0473, 17.2059, 3.7687)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A831A #631A83
analogous
#6E831A #3A831A #1A832E
triadic
#3A831A #1A3A83 #831A3A
tetradic
#3A831A #1A6E83 #631A83 #832E1A
square
#3A831A #1A6E83 #631A83 #832E1A
split-complementary
#3A831A #2E1A83 #831A6E
monochromatic
#0D1D06 #235010 #3A831A #51B624 #6ED93F

Accessibility & contrast

On white

4.73
#3A831A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#3A831A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3A831A
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A831A#FFFFFF#000000##FFFFFF
##3A831A1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#7E7126
Tritanopia (blue-blind)
#347E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3a831a;
/* rgb */ color: rgb(58, 131, 26);
/* oklch */ color: oklch(54.2% 0.154 138.3);
Tailwind
colors: {
  custom: {
    50: '#79a860',
    500: '#3a831a',
    950: '#000000',
  },
}
SCSS
$custom: #3a831a;
$custom-light: #79a860;
$custom-dark: #000000;
JSON
{
  "hex": "#3a831a",
  "rgb": {
    "r": 58,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 101.714,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5424,
    "c": 0.15427,
    "h": 138.3
  },
  "luminance": 0.17207
}

Semantic roles & 50–950 ramp

primary
#3A831A
secondary
#9342B7
accent
#3EEAB5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3A831A

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

Preview Lab → · Contrast checker → · Palette generator →

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