#339C2A#339C2A
#339C2A is a mid, vivid green. Relative luminance 0.246; OKLCH L 61.0% C 0.178 H 142.0°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #339C2A |
|---|---|
| RGB | rgb(51, 156, 42) |
| HSL | hsl(115, 58%, 39%) |
| HSV | hsv(115, 73%, 61%) |
| CMYK | cmyk(67.3%, 0%, 73.1%, 38.8%) |
| CIE-LAB | lab(56.73, -51.52, 48.34) |
| CIE-LCH | lch(56.73, 70.64, 136.82°) |
| OKLab | oklab(61% -0.1404 0.1097) |
| OKLCH | oklch(61% 0.178 142) |
| XYZ | xyz(13.6709, 24.6465, 6.2268) |
| Luminance | 0.2465 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.13
Irish Green
#019529
ΔE00 3.51
Grassy Green
#419C03
ΔE00 3.61
True Green
#089404
ΔE00 3.86
Kelly Green (survey)
#02AB2E
ΔE00 4.78
Mid Green
#50A747
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339C2A #932A9C
analogous
#6C9C2A #339C2A #2A9C5A
triadic
#339C2A #2A339C #9C2A33
tetradic
#339C2A #2A6C9C #932A9C #9C5A2A
square
#339C2A #2A6C9C #932A9C #9C5A2A
split-complementary
#339C2A #5A2A9C #9C2A6C
monochromatic
#133C10 #236C1D #339C2A #45CA39 #72D76A
Accessibility & contrast
On white
3.54
#339C2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#339C2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339C2A
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339C2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339C2A | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A08D16
Deuteranopia (green-blind)
#938536
Tritanopia (blue-blind)
#1C9786
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #339c2a; /* rgb */ color: rgb(51, 156, 42); /* oklch */ color: oklch(61.0% 0.178 142.0);
Tailwind
colors: {
custom: {
50: '#79ba6b',
500: '#339c2a',
950: '#000000',
},
}SCSS
$custom: #339c2a; $custom-light: #79ba6b; $custom-dark: #000000;
JSON
{
"hex": "#339c2a",
"rgb": {
"r": 51,
"g": 156,
"b": 42
},
"hsl": {
"h": 115.263,
"s": 57.576,
"l": 38.824
},
"oklch": {
"l": 0.60999,
"c": 0.17816,
"h": 142
},
"luminance": 0.24648
}Semantic roles & 50–950 ramp
primary
#339C2A
secondary
#B665BD
accent
#47E1D5
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1207
muted
#7C817A