#3A8F2F#3A8F2F
#3A8F2F is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.7% C 0.156 H 141.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #3A8F2F |
|---|---|
| RGB | rgb(58, 143, 47) |
| HSL | hsl(113, 51%, 37%) |
| HSV | hsv(113, 67%, 56%) |
| CMYK | cmyk(59.4%, 0%, 67.1%, 43.9%) |
| CIE-LAB | lab(52.67, -44.62, 42.05) |
| CIE-LCH | lch(52.67, 61.31, 136.69°) |
| OKLab | oklab(57.72% -0.1218 0.0971) |
| OKLCH | oklch(57.72% 0.156 141.4) |
| XYZ | xyz(12.0799, 20.7486, 6.0571) |
| Luminance | 0.2075 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.58
Emerald Green
#028F1E
ΔE00 3.15
Irish Green
#019529
ΔE00 3.39
Kelley Green
#009337
ΔE00 3.75
Fern Green
#548D44
ΔE00 4.29
True Green
#089404
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3A8F2F #842F8F
analogous
#6A8F2F #3A8F2F #2F8F54
triadic
#3A8F2F #2F3A8F #8F2F3A
tetradic
#3A8F2F #2F6A8F #842F8F #8F542F
square
#3A8F2F #2F6A8F #842F8F #8F542F
split-complementary
#3A8F2F #542F8F #8F2F6A
monochromatic
#153311 #276120 #3A8F2F #4DBD3E #76CE6A
Accessibility & contrast
On white
4.08
#3A8F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.15
#3A8F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3A8F2F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3A8F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3A8F2F | 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)
#938223
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#2E8B7B
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #3a8f2f; /* rgb */ color: rgb(58, 143, 47); /* oklch */ color: oklch(57.7% 0.156 141.4);
Tailwind
colors: {
custom: {
50: '#7ab16c',
500: '#3a8f2f',
950: '#000000',
},
}SCSS
$custom: #3a8f2f; $custom-light: #7ab16c; $custom-dark: #000000;
JSON
{
"hex": "#3a8f2f",
"rgb": {
"r": 58,
"g": 143,
"b": 47
},
"hsl": {
"h": 113.125,
"s": 50.526,
"l": 37.255
},
"oklch": {
"l": 0.57716,
"c": 0.1558,
"h": 141.4
},
"luminance": 0.2075
}Semantic roles & 50–950 ramp
primary
#3A8F2F
secondary
#AC65B5
accent
#4EDACA
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1107
muted
#7C807A