#339F2C#339F2C
#339F2C is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.180 H 142.2°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #339F2C |
|---|---|
| RGB | rgb(51, 159, 44) |
| HSL | hsl(116, 57%, 40%) |
| HSV | hsv(116, 72%, 62%) |
| CMYK | cmyk(67.9%, 0%, 72.3%, 37.6%) |
| CIE-LAB | lab(57.73, -52.40, 48.60) |
| CIE-LCH | lch(57.73, 71.47, 137.15°) |
| OKLab | oklab(61.83% -0.1426 0.1105) |
| OKLCH | oklch(61.83% 0.18 142.2) |
| XYZ | xyz(14.2172, 25.6805, 6.5900) |
| Luminance | 0.2568 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.39
Grassy Green
#419C03
ΔE00 3.76
Kelly Green (survey)
#02AB2E
ΔE00 3.90
Mid Green
#50A747
ΔE00 4.19
Irish Green
#019529
ΔE00 4.22
True Green
#089404
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339F2C #982C9F
analogous
#6C9F2C #339F2C #2C9F5F
triadic
#339F2C #2C339F #9F2C33
tetradic
#339F2C #2C6C9F #982C9F #9F5F2C
square
#339F2C #2C6C9F #982C9F #9F5F2C
split-complementary
#339F2C #5F2C9F #9F2C6C
monochromatic
#143F11 #246F1F #339F2C #47CA3E #75D76E
Accessibility & contrast
On white
3.42
#339F2C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#339F2C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339F2C
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339F2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339F2C | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39019
Deuteranopia (green-blind)
#968738
Tritanopia (blue-blind)
#1A9A88
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #339f2c; /* rgb */ color: rgb(51, 159, 44); /* oklch */ color: oklch(61.8% 0.180 142.2);
Tailwind
colors: {
custom: {
50: '#7abc6c',
500: '#339f2c',
950: '#000000',
},
}SCSS
$custom: #339f2c; $custom-light: #7abc6c; $custom-dark: #000000;
JSON
{
"hex": "#339f2c",
"rgb": {
"r": 51,
"g": 159,
"b": 44
},
"hsl": {
"h": 116.348,
"s": 56.65,
"l": 39.804
},
"oklch": {
"l": 0.61835,
"c": 0.18046,
"h": 142.2
},
"luminance": 0.25682
}Semantic roles & 50–950 ramp
primary
#339F2C
secondary
#B969BE
accent
#48E0D7
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A