#339A2F#339A2F
#339A2F is a mid, vivid green. Relative luminance 0.240; OKLCH L 60.5% C 0.172 H 142.6°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #339A2F |
|---|---|
| RGB | rgb(51, 154, 47) |
| HSL | hsl(118, 53%, 39%) |
| HSV | hsv(118, 69%, 60%) |
| CMYK | cmyk(66.9%, 0%, 69.5%, 39.6%) |
| CIE-LAB | lab(56.11, -50.36, 45.69) |
| CIE-LCH | lch(56.11, 68.00, 137.78°) |
| OKLab | oklab(60.5% -0.137 0.1048) |
| OKLCH | oklch(60.5% 0.172 142.6) |
| XYZ | xyz(13.4332, 24.0189, 6.6170) |
| Luminance | 0.2402 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 2.88
Grass Green
#3F9B0B
ΔE00 3.85
True Green
#089404
ΔE00 3.86
Kelley Green
#009337
ΔE00 4.24
Grassy Green
#419C03
ΔE00 4.38
Emerald Green
#028F1E
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339A2F #962F9A
analogous
#699A2F #339A2F #2F9A61
triadic
#339A2F #2F339A #9A2F33
tetradic
#339A2F #2F699A #962F9A #9A612F
square
#339A2F #2F699A #962F9A #9A612F
split-complementary
#339A2F #612F9A #9A2F69
monochromatic
#143C12 #236B21 #339A2F #46C541 #74D370
Accessibility & contrast
On white
3.62
#339A2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.80
#339A2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339A2F
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339A2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339A2F | 1.00 | 3.62 | 5.80 | 5.80 |
| #FFFFFF | 3.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8C20
Deuteranopia (green-blind)
#918339
Tritanopia (blue-blind)
#1C9584
Achromatopsia (no color)
#868686
Design tokens & code
CSS
--color: #339a2f; /* rgb */ color: rgb(51, 154, 47); /* oklch */ color: oklch(60.5% 0.172 142.6);
Tailwind
colors: {
custom: {
50: '#79b96d',
500: '#339a2f',
950: '#000000',
},
}SCSS
$custom: #339a2f; $custom-light: #79b96d; $custom-dark: #000000;
JSON
{
"hex": "#339a2f",
"rgb": {
"r": 51,
"g": 154,
"b": 47
},
"hsl": {
"h": 117.757,
"s": 53.234,
"l": 39.412
},
"oklch": {
"l": 0.60496,
"c": 0.17247,
"h": 142.6
},
"luminance": 0.2402
}Semantic roles & 50–950 ramp
primary
#339A2F
secondary
#B86ABB
accent
#4BDDD7
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A