#339A2A#339A2A
#339A2A is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.176 H 142.0°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #339A2A |
|---|---|
| RGB | rgb(51, 154, 42) |
| HSL | hsl(115, 57%, 38%) |
| HSV | hsv(115, 73%, 60%) |
| CMYK | cmyk(66.9%, 0%, 72.7%, 39.6%) |
| CIE-LAB | lab(56.07, -50.81, 47.66) |
| CIE-LCH | lch(56.07, 69.67, 136.83°) |
| OKLab | oklab(60.45% -0.1385 0.1083) |
| OKLCH | oklch(60.45% 0.176 142) |
| XYZ | xyz(13.3380, 23.9808, 6.1159) |
| Luminance | 0.2398 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 3.04
Grass Green
#3F9B0B
ΔE00 3.26
True Green
#089404
ΔE00 3.49
Grassy Green
#419C03
ΔE00 3.80
Emerald Green
#028F1E
ΔE00 4.54
Kelley Green
#009337
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339A2A #912A9A
analogous
#6B9A2A #339A2A #2A9A59
triadic
#339A2A #2A339A #9A2A33
tetradic
#339A2A #2A6B9A #912A9A #9A592A
square
#339A2A #2A6B9A #912A9A #9A592A
split-complementary
#339A2A #592A9A #9A2A6B
monochromatic
#133A10 #236A1D #339A2A #44C938 #71D668
Accessibility & contrast
On white
3.62
#339A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#339A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339A2A
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339A2A | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B17
Deuteranopia (green-blind)
#918335
Tritanopia (blue-blind)
#1D9584
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #339a2a; /* rgb */ color: rgb(51, 154, 42); /* oklch */ color: oklch(60.5% 0.176 142.0);
Tailwind
colors: {
custom: {
50: '#79b96a',
500: '#339a2a',
950: '#000000',
},
}SCSS
$custom: #339a2a; $custom-light: #79b96a; $custom-dark: #000000;
JSON
{
"hex": "#339a2a",
"rgb": {
"r": 51,
"g": 154,
"b": 42
},
"hsl": {
"h": 115.179,
"s": 57.143,
"l": 38.431
},
"oklch": {
"l": 0.60452,
"c": 0.1758,
"h": 142
},
"luminance": 0.23982
}Semantic roles & 50–950 ramp
primary
#339A2A
secondary
#B563BC
accent
#47E0D4
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A