#339C2B#339C2B
#339C2B is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.0% C 0.178 H 142.1°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #339C2B |
|---|---|
| RGB | rgb(51, 156, 43) |
| HSL | hsl(116, 57%, 39%) |
| HSV | hsv(116, 72%, 61%) |
| CMYK | cmyk(67.3%, 0%, 72.4%, 38.8%) |
| CIE-LAB | lab(56.74, -51.43, 47.96) |
| CIE-LCH | lch(56.74, 70.32, 137.00°) |
| OKLab | oklab(61.01% -0.1401 0.1091) |
| OKLCH | oklch(61.01% 0.178 142.1) |
| XYZ | xyz(13.6890, 24.6538, 6.3223) |
| Luminance | 0.2465 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.24
Irish Green
#019529
ΔE00 3.47
Grassy Green
#419C03
ΔE00 3.73
True Green
#089404
ΔE00 3.92
Kelly Green (survey)
#02AB2E
ΔE00 4.77
Mid Green
#50A747
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339C2B #942B9C
analogous
#6C9C2B #339C2B #2B9C5C
triadic
#339C2B #2B339C #9C2B33
tetradic
#339C2B #2B6C9C #942B9C #9C5C2B
square
#339C2B #2B6C9C #942B9C #9C5C2B
split-complementary
#339C2B #5C2B9C #9C2B6C
monochromatic
#143C11 #236C1E #339C2B #45C93B #73D66B
Accessibility & contrast
On white
3.54
#339C2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#339C2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339C2B
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339C2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339C2B | 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)
#A08D18
Deuteranopia (green-blind)
#938536
Tritanopia (blue-blind)
#1C9786
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #339c2b; /* rgb */ color: rgb(51, 156, 43); /* oklch */ color: oklch(61.0% 0.178 142.1);
Tailwind
colors: {
custom: {
50: '#79ba6b',
500: '#339c2b',
950: '#000000',
},
}SCSS
$custom: #339c2b; $custom-light: #79ba6b; $custom-dark: #000000;
JSON
{
"hex": "#339c2b",
"rgb": {
"r": 51,
"g": 156,
"b": 43
},
"hsl": {
"h": 115.752,
"s": 56.784,
"l": 39.02
},
"oklch": {
"l": 0.61007,
"c": 0.17753,
"h": 142.1
},
"luminance": 0.24655
}Semantic roles & 50–950 ramp
primary
#339C2B
secondary
#B766BD
accent
#48E0D5
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A