#339E2B#339E2B
#339E2B is a mid, vivid green. Relative luminance 0.253; OKLCH L 61.6% C 0.180 H 142.1°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #339E2B |
|---|---|
| RGB | rgb(51, 158, 43) |
| HSL | hsl(116, 57%, 39%) |
| HSV | hsv(116, 73%, 62%) |
| CMYK | cmyk(67.7%, 0%, 72.8%, 38%) |
| CIE-LAB | lab(57.40, -52.13, 48.64) |
| CIE-LCH | lch(57.40, 71.30, 136.98°) |
| OKLab | oklab(61.55% -0.142 0.1105) |
| OKLCH | oklch(61.55% 0.18 142.1) |
| XYZ | xyz(14.0274, 25.3305, 6.4351) |
| Luminance | 0.2533 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.24
Grassy Green
#419C03
ΔE00 3.65
Irish Green
#019529
ΔE00 3.98
Kelly Green (survey)
#02AB2E
ΔE00 4.19
True Green
#089404
ΔE00 4.35
Mid Green
#50A747
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339E2B #962B9E
analogous
#6D9E2B #339E2B #2B9E5D
triadic
#339E2B #2B339E #9E2B33
tetradic
#339E2B #2B6D9E #962B9E #9E5D2B
square
#339E2B #2B6D9E #962B9E #9E5D2B
split-complementary
#339E2B #5D2B9E #9E2B6D
monochromatic
#143E11 #236E1E #339E2B #46CA3C #74D76C
Accessibility & contrast
On white
3.46
#339E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#339E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339E2B
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339E2B | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A28F17
Deuteranopia (green-blind)
#958737
Tritanopia (blue-blind)
#1B9987
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #339e2b; /* rgb */ color: rgb(51, 158, 43); /* oklch */ color: oklch(61.6% 0.180 142.1);
Tailwind
colors: {
custom: {
50: '#7abc6b',
500: '#339e2b',
950: '#000000',
},
}SCSS
$custom: #339e2b; $custom-light: #7abc6b; $custom-dark: #000000;
JSON
{
"hex": "#339e2b",
"rgb": {
"r": 51,
"g": 158,
"b": 43
},
"hsl": {
"h": 115.826,
"s": 57.214,
"l": 39.412
},
"oklch": {
"l": 0.61554,
"c": 0.17991,
"h": 142.1
},
"luminance": 0.25332
}Semantic roles & 50–950 ramp
primary
#339E2B
secondary
#B867BE
accent
#47E0D6
background
#F8FBF6
surface
#EFF6EC
border
#CAD0C7
text
#0A1207
muted
#7C817A