#339F2F#339F2F
#339F2F is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.9% C 0.178 H 142.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #339F2F |
|---|---|
| RGB | rgb(51, 159, 47) |
| HSL | hsl(118, 54%, 40%) |
| HSV | hsv(118, 70%, 62%) |
| CMYK | cmyk(67.9%, 0%, 70.4%, 37.6%) |
| CIE-LAB | lab(57.75, -52.13, 47.44) |
| CIE-LCH | lch(57.75, 70.48, 137.70°) |
| OKLab | oklab(61.86% -0.1418 0.1085) |
| OKLCH | oklch(61.86% 0.179 142.6) |
| XYZ | xyz(14.2756, 25.7038, 6.8978) |
| Luminance | 0.2571 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.71
Kelly Green (survey)
#02AB2E
ΔE00 3.89
Mid Green
#50A747
ΔE00 4.03
Grassy Green
#419C03
ΔE00 4.10
Irish Green
#019529
ΔE00 4.13
True Green
#089404
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339F2F #9B2F9F
analogous
#6B9F2F #339F2F #2F9F63
triadic
#339F2F #2F339F #9F2F33
tetradic
#339F2F #2F6B9F #9B2F9F #9F632F
square
#339F2F #2F6B9F #9B2F9F #9F632F
split-complementary
#339F2F #632F9F #9F2F6B
monochromatic
#154113 #247021 #339F2F #48C844 #76D673
Accessibility & contrast
On white
3.42
#339F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#339F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339F2F
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339F2F | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3901E
Deuteranopia (green-blind)
#96873A
Tritanopia (blue-blind)
#199A89
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #339f2f; /* rgb */ color: rgb(51, 159, 47); /* oklch */ color: oklch(61.9% 0.178 142.6);
Tailwind
colors: {
custom: {
50: '#7abc6e',
500: '#339f2f',
950: '#000000',
},
}SCSS
$custom: #339f2f; $custom-light: #7abc6e; $custom-dark: #000000;
JSON
{
"hex": "#339f2f",
"rgb": {
"r": 51,
"g": 159,
"b": 47
},
"hsl": {
"h": 117.857,
"s": 54.369,
"l": 40.392
},
"oklch": {
"l": 0.6186,
"c": 0.1785,
"h": 142.6
},
"luminance": 0.25705
}Semantic roles & 50–950 ramp
primary
#339F2F
secondary
#BA6DBD
accent
#4ADED8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A