#339D2F#339D2F
#339D2F is a mid, vivid green. Relative luminance 0.250; OKLCH L 61.3% C 0.176 H 142.6°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #339D2F |
|---|---|
| RGB | rgb(51, 157, 47) |
| HSL | hsl(118, 54%, 40%) |
| HSV | hsv(118, 70%, 62%) |
| CMYK | cmyk(67.5%, 0%, 70.1%, 38.4%) |
| CIE-LAB | lab(57.10, -51.42, 46.74) |
| CIE-LCH | lch(57.10, 69.49, 137.73°) |
| OKLab | oklab(61.32% -0.1398 0.107) |
| OKLCH | oklch(61.32% 0.176 142.6) |
| XYZ | xyz(13.9345, 25.0215, 6.7841) |
| Luminance | 0.2502 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 3.60
Grass Green
#3F9B0B
ΔE00 3.68
Grassy Green
#419C03
ΔE00 4.14
True Green
#089404
ΔE00 4.36
Mid Green
#50A747
ΔE00 4.41
Kelly Green (survey)
#02AB2E
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339D2F #992F9D
analogous
#6A9D2F #339D2F #2F9D62
triadic
#339D2F #2F339D #9D2F33
tetradic
#339D2F #2F6A9D #992F9D #9D622F
square
#339D2F #2F6A9D #992F9D #9D622F
split-complementary
#339D2F #622F9D #9D2F6A
monochromatic
#143F13 #246E21 #339D2F #47C743 #75D572
Accessibility & contrast
On white
3.50
#339D2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#339D2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339D2F
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339D2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339D2F | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A18E1F
Deuteranopia (green-blind)
#94863A
Tritanopia (blue-blind)
#1A9887
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #339d2f; /* rgb */ color: rgb(51, 157, 47); /* oklch */ color: oklch(61.3% 0.176 142.6);
Tailwind
colors: {
custom: {
50: '#79bb6e',
500: '#339d2f',
950: '#000000',
},
}SCSS
$custom: #339d2f; $custom-light: #79bb6e; $custom-dark: #000000;
JSON
{
"hex": "#339d2f",
"rgb": {
"r": 51,
"g": 157,
"b": 47
},
"hsl": {
"h": 117.818,
"s": 53.922,
"l": 40
},
"oklch": {
"l": 0.61315,
"c": 0.17611,
"h": 142.6
},
"luminance": 0.25023
}Semantic roles & 50–950 ramp
primary
#339D2F
secondary
#B96BBC
accent
#4BDDD8
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A