#339F2B#339F2B
#339F2B is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.181 H 142.1°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #339F2B |
|---|---|
| RGB | rgb(51, 159, 43) |
| HSL | hsl(116, 57%, 40%) |
| HSV | hsv(116, 73%, 62%) |
| CMYK | cmyk(67.9%, 0%, 73%, 37.6%) |
| CIE-LAB | lab(57.73, -52.48, 48.98) |
| CIE-LCH | lch(57.73, 71.79, 136.98°) |
| OKLab | oklab(61.83% -0.1429 0.1112) |
| OKLCH | oklch(61.83% 0.181 142.1) |
| XYZ | xyz(14.1986, 25.6730, 6.4921) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.29
Grassy Green
#419C03
ΔE00 3.66
Kelly Green (survey)
#02AB2E
ΔE00 3.90
Irish Green
#019529
ΔE00 4.25
Mid Green
#50A747
ΔE00 4.25
True Green
#089404
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339F2B #972B9F
analogous
#6D9F2B #339F2B #2B9F5D
triadic
#339F2B #2B339F #9F2B33
tetradic
#339F2B #2B6D9F #972B9F #9F5D2B
square
#339F2B #2B6D9F #972B9F #9F5D2B
split-complementary
#339F2B #5D2B9F #9F2B6D
monochromatic
#143F11 #246F1E #339F2B #47CA3D #74D76D
Accessibility & contrast
On white
3.42
#339F2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#339F2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339F2B
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339F2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339F2B | 1.00 | 3.42 | 6.13 | 6.13 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#968737
Tritanopia (blue-blind)
#1A9A88
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #339f2b; /* rgb */ color: rgb(51, 159, 43); /* oklch */ color: oklch(61.8% 0.181 142.1);
Tailwind
colors: {
custom: {
50: '#7abc6c',
500: '#339f2b',
950: '#000000',
},
}SCSS
$custom: #339f2b; $custom-light: #7abc6c; $custom-dark: #000000;
JSON
{
"hex": "#339f2b",
"rgb": {
"r": 51,
"g": 159,
"b": 43
},
"hsl": {
"h": 115.862,
"s": 57.426,
"l": 39.608
},
"oklch": {
"l": 0.61827,
"c": 0.18108,
"h": 142.1
},
"luminance": 0.25674
}Semantic roles & 50–950 ramp
primary
#339F2B
secondary
#B867BE
accent
#47E1D6
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A