#339B1F#339B1F
#339B1F is a mid, vivid green. Relative luminance 0.242; OKLCH L 60.6% C 0.183 H 140.9°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #339B1F |
|---|---|
| RGB | rgb(51, 155, 31) |
| HSL | hsl(110, 67%, 36%) |
| HSV | hsv(110, 80%, 61%) |
| CMYK | cmyk(67.1%, 0%, 80%, 39.2%) |
| CIE-LAB | lab(56.33, -51.98, 51.81) |
| CIE-LCH | lch(56.33, 73.39, 135.09°) |
| OKLab | oklab(60.65% -0.1422 0.1154) |
| OKLCH | oklch(60.65% 0.183 140.9) |
| XYZ | xyz(13.3332, 24.2441, 5.2730) |
| Luminance | 0.2424 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Grass Green
#3F9B0B
ΔE00 2.11
Grassy Green
#419C03
ΔE00 2.63
True Green
#089404
ΔE00 3.26
Irish Green
#019529
ΔE00 3.85
Lawn Green
#4DA409
ΔE00 4.64
Emerald Green
#028F1E
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#339B1F #871F9B
analogous
#719B1F #339B1F #1F9B49
triadic
#339B1F #1F339B #9B1F33
tetradic
#339B1F #1F719B #871F9B #9B491F
square
#339B1F #1F719B #871F9B #9B491F
split-complementary
#339B1F #491F9B #9B1F71
monochromatic
#11350B #226815 #339B1F #44CE29 #6DDD57
Accessibility & contrast
On white
3.59
#339B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.85
#339B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #339B1F
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##339B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##339B1F | 1.00 | 3.59 | 5.85 | 5.85 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#1F9684
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #339b1f; /* rgb */ color: rgb(51, 155, 31); /* oklch */ color: oklch(60.6% 0.183 140.9);
Tailwind
colors: {
custom: {
50: '#7ab965',
500: '#339b1f',
950: '#000000',
},
}SCSS
$custom: #339b1f; $custom-light: #7ab965; $custom-dark: #000000;
JSON
{
"hex": "#339b1f",
"rgb": {
"r": 51,
"g": 155,
"b": 31
},
"hsl": {
"h": 110.323,
"s": 66.667,
"l": 36.471
},
"oklch": {
"l": 0.60648,
"c": 0.18314,
"h": 140.9
},
"luminance": 0.24245
}Semantic roles & 50–950 ramp
primary
#339B1F
secondary
#B055C1
accent
#3EEACE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0A1206
muted
#7C817A