#3A8F2D#3A8F2D
#3A8F2D is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.157 H 141.1°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3A8F2D |
|---|---|
| RGB | rgb(58, 143, 45) |
| HSL | hsl(112, 52%, 37%) |
| HSV | hsv(112, 69%, 56%) |
| CMYK | cmyk(59.4%, 0%, 68.5%, 43.9%) |
| CIE-LAB | lab(52.66, -44.82, 42.91) |
| CIE-LCH | lch(52.66, 62.04, 136.25°) |
| OKLab | oklab(57.7% -0.1225 0.0987) |
| OKLCH | oklch(57.7% 0.157 141.1) |
| XYZ | xyz(12.0405, 20.7329, 5.8495) |
| Luminance | 0.2073 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.52
Emerald Green
#028F1E
ΔE00 3.07
Irish Green
#019529
ΔE00 3.39
Kelley Green
#009337
ΔE00 3.91
True Green
#089404
ΔE00 4.09
Fern Green
#548D44
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A8F2D #822D8F
analogous
#6B8F2D #3A8F2D #2D8F51
triadic
#3A8F2D #2D3A8F #8F2D3A
tetradic
#3A8F2D #2D6B8F #822D8F #8F512D
square
#3A8F2D #2D6B8F #822D8F #8F512D
split-complementary
#3A8F2D #512D8F #8F2D6B
monochromatic
#143210 #27601E #3A8F2D #4DBE3C #75CF67
Accessibility & contrast
On white
4.08
#3A8F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#3A8F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A8F2D
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A8F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A8F2D | 1.00 | 4.08 | 5.15 | 5.15 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938220
Deuteranopia (green-blind)
#887B36
Tritanopia (blue-blind)
#2E8B7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #3a8f2d; /* rgb */ color: rgb(58, 143, 45); /* oklch */ color: oklch(57.7% 0.157 141.1);
Tailwind
colors: {
custom: {
50: '#7ab16b',
500: '#3a8f2d',
950: '#000000',
},
}SCSS
$custom: #3a8f2d; $custom-light: #7ab16b; $custom-dark: #000000;
JSON
{
"hex": "#3a8f2d",
"rgb": {
"r": 58,
"g": 143,
"b": 45
},
"hsl": {
"h": 112.041,
"s": 52.128,
"l": 36.863
},
"oklch": {
"l": 0.57696,
"c": 0.15728,
"h": 141.1
},
"luminance": 0.20734
}Semantic roles & 50–950 ramp
primary
#3A8F2D
secondary
#AB62B6
accent
#4CDCC9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1107
muted
#7C807A