#339F2A#339F2A
#339F2A is a mid, vivid green. Relative luminance 0.257; OKLCH L 61.8% C 0.182 H 142.0°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #339F2A |
|---|---|
| RGB | rgb(51, 159, 42) |
| HSL | hsl(115, 58%, 39%) |
| HSV | hsv(115, 74%, 62%) |
| CMYK | cmyk(67.9%, 0%, 73.6%, 37.6%) |
| CIE-LAB | lab(57.72, -52.56, 49.35) |
| CIE-LCH | lch(57.72, 72.10, 136.81°) |
| OKLab | oklab(61.82% -0.1432 0.1119) |
| OKLCH | oklch(61.82% 0.182 142) |
| XYZ | xyz(14.1805, 25.6658, 6.3967) |
| Luminance | 0.2567 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 3.19
Grassy Green
#419C03
ΔE00 3.55
Kelly Green (survey)
#02AB2E
ΔE00 3.91
Irish Green
#019529
ΔE00 4.29
Mid Green
#50A747
ΔE00 4.31
True Green
#089404
ΔE00 4.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339F2A #962A9F
analogous
#6D9F2A #339F2A #2A9F5C
triadic
#339F2A #2A339F #9F2A33
tetradic
#339F2A #2A6D9F #962A9F #9F5C2A
square
#339F2A #2A6D9F #962A9F #9F5C2A
split-complementary
#339F2A #5C2A9F #9F2A6D
monochromatic
#143E10 #236F1D #339F2A #46CB3B #74D86B
Accessibility & contrast
On white
3.42
#339F2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#339F2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339F2A
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339F2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339F2A | 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)
#A39015
Deuteranopia (green-blind)
#968736
Tritanopia (blue-blind)
#1B9A88
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #339f2a; /* rgb */ color: rgb(51, 159, 42); /* oklch */ color: oklch(61.8% 0.182 142.0);
Tailwind
colors: {
custom: {
50: '#7abc6b',
500: '#339f2a',
950: '#000000',
},
}SCSS
$custom: #339f2a; $custom-light: #7abc6b; $custom-dark: #000000;
JSON
{
"hex": "#339f2a",
"rgb": {
"r": 51,
"g": 159,
"b": 42
},
"hsl": {
"h": 115.385,
"s": 58.209,
"l": 39.412
},
"oklch": {
"l": 0.61819,
"c": 0.1817,
"h": 142
},
"luminance": 0.25667
}Semantic roles & 50–950 ramp
primary
#339F2A
secondary
#B866BF
accent
#46E1D6
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A