#339F2D#339F2D
#339F2D is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.180 H 142.3°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #339F2D |
|---|---|
| RGB | rgb(51, 159, 45) |
| HSL | hsl(117, 56%, 40%) |
| HSV | hsv(117, 72%, 62%) |
| CMYK | cmyk(67.9%, 0%, 71.7%, 37.6%) |
| CIE-LAB | lab(57.74, -52.31, 48.22) |
| CIE-LCH | lch(57.74, 71.14, 137.33°) |
| OKLab | oklab(61.84% -0.1423 0.1099) |
| OKLCH | oklch(61.84% 0.18 142.3) |
| XYZ | xyz(14.2362, 25.6881, 6.6902) |
| Luminance | 0.2569 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.49
Grassy Green
#419C03
ΔE00 3.87
Kelly Green (survey)
#02AB2E
ΔE00 3.89
Mid Green
#50A747
ΔE00 4.14
Irish Green
#019529
ΔE00 4.19
True Green
#089404
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339F2D #992D9F
analogous
#6C9F2D #339F2D #2D9F60
triadic
#339F2D #2D339F #9F2D33
tetradic
#339F2D #2D6C9F #992D9F #9F602D
square
#339F2D #2D6C9F #992D9F #9F602D
split-complementary
#339F2D #602D9F #9F2D6C
monochromatic
#144012 #246F20 #339F2D #47C940 #75D670
Accessibility & contrast
On white
3.42
#339F2D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#339F2D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339F2D
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339F2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339F2D | 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)
#A3901B
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#1A9A88
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #339f2d; /* rgb */ color: rgb(51, 159, 45); /* oklch */ color: oklch(61.8% 0.180 142.3);
Tailwind
colors: {
custom: {
50: '#7abc6d',
500: '#339f2d',
950: '#000000',
},
}SCSS
$custom: #339f2d; $custom-light: #7abc6d; $custom-dark: #000000;
JSON
{
"hex": "#339f2d",
"rgb": {
"r": 51,
"g": 159,
"b": 45
},
"hsl": {
"h": 116.842,
"s": 55.882,
"l": 40
},
"oklch": {
"l": 0.61843,
"c": 0.17982,
"h": 142.3
},
"luminance": 0.2569
}Semantic roles & 50–950 ramp
primary
#339F2D
secondary
#B96ABE
accent
#49DFD7
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A