#3A951F#3A951F

#3A951F is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.173 H 139.8°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#3A951F
RGBrgb(58, 149, 31)
HSLhsl(106, 66%, 35%)
HSVhsv(106, 79%, 58%)
CMYKcmyk(61.1%, 0%, 79.2%, 41.6%)
CIE-LABlab(54.55, -48.19, 50.17)
CIE-LCHlch(54.55, 69.57, 133.85°)
OKLaboklab(59.23% -0.1324 0.112)
OKLCHoklch(59.23% 0.173 139.8)
XYZxyz(12.7391, 22.4922, 4.9662)
Luminance0.2249 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A951F #7A1F95
analogous
#75951F #3A951F #1F953F
triadic
#3A951F #1F3A95 #951F3A
tetradic
#3A951F #1F7595 #7A1F95 #953F1F
square
#3A951F #1F7595 #7A1F95 #953F1F
split-complementary
#3A951F #3F1F95 #951F75
monochromatic
#13300A #266214 #3A951F #4EC82A #72DB53

Accessibility & contrast

On white

3.82
#3A951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#3A951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A951F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A951F#FFFFFF#000000##000000
##3A951F1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#8E802C
Tritanopia (blue-blind)
#2E907F
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #3a951f;
/* rgb */ color: rgb(58, 149, 31);
/* oklch */ color: oklch(59.2% 0.173 139.8);
Tailwind
colors: {
  custom: {
    50: '#7cb564',
    500: '#3a951f',
    950: '#000000',
  },
}
SCSS
$custom: #3a951f;
$custom-light: #7cb564;
$custom-dark: #000000;
JSON
{
  "hex": "#3a951f",
  "rgb": {
    "r": 58,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 106.271,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59226,
    "c": 0.17341,
    "h": 139.8
  },
  "luminance": 0.22493
}

Semantic roles & 50–950 ramp

primary
#3A951F
secondary
#A651BF
accent
#3FE9C2
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #3A951F

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

Preview Lab → · Contrast checker → · Palette generator →

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