#339C31#339C31
#339C31 is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.1% C 0.173 H 142.8°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #339C31 |
|---|---|
| RGB | rgb(51, 156, 49) |
| HSL | hsl(119, 52%, 40%) |
| HSV | hsv(119, 69%, 61%) |
| CMYK | cmyk(67.3%, 0%, 68.6%, 38.8%) |
| CIE-LAB | lab(56.78, -50.88, 45.58) |
| CIE-LCH | lch(56.78, 68.31, 138.15°) |
| OKLab | oklab(61.06% -0.1383 0.1048) |
| OKLCH | oklch(61.06% 0.174 142.8) |
| XYZ | xyz(13.8073, 24.7011, 6.9453) |
| Luminance | 0.2470 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 3.31
Grass Green
#3F9B0B
ΔE00 3.96
True Green
#089404
ΔE00 4.33
Grassy Green
#419C03
ΔE00 4.44
Mid Green
#50A747
ΔE00 4.55
Kelley Green
#009337
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339C31 #9A319C
analogous
#689C31 #339C31 #319C65
triadic
#339C31 #31339C #9C3133
tetradic
#339C31 #31689C #9A319C #9C6531
square
#339C31 #31689C #9A319C #9C6531
split-complementary
#339C31 #65319C #9C3168
monochromatic
#153F14 #246D22 #339C31 #48C545 #76D374
Accessibility & contrast
On white
3.54
#339C31 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#339C31 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339C31
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339C31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339C31 | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8D22
Deuteranopia (green-blind)
#93853B
Tritanopia (blue-blind)
#1A9786
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #339c31; /* rgb */ color: rgb(51, 156, 49); /* oklch */ color: oklch(61.1% 0.173 142.8);
Tailwind
colors: {
custom: {
50: '#79ba6f',
500: '#339c31',
950: '#000000',
},
}SCSS
$custom: #339c31; $custom-light: #79ba6f; $custom-dark: #000000;
JSON
{
"hex": "#339c31",
"rgb": {
"r": 51,
"g": 156,
"b": 49
},
"hsl": {
"h": 118.879,
"s": 52.195,
"l": 40.196
},
"oklch": {
"l": 0.61061,
"c": 0.1735,
"h": 142.8
},
"luminance": 0.24702
}Semantic roles & 50–950 ramp
primary
#339C31
secondary
#BA6DBB
accent
#4CDCD9
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1208
muted
#7C817B