#337F13#337F13
#337F13 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.156 H 138.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #337F13 |
|---|---|
| RGB | rgb(51, 127, 19) |
| HSL | hsl(102, 74%, 29%) |
| HSV | hsv(102, 85%, 50%) |
| CMYK | cmyk(59.8%, 0%, 85%, 50.2%) |
| CIE-LAB | lab(46.88, -42.54, 46.62) |
| CIE-LCH | lch(46.88, 63.11, 132.38°) |
| OKLab | oklab(52.81% -0.1174 0.1028) |
| OKLCH | oklch(52.81% 0.156 138.8) |
| XYZ | xyz(9.0718, 15.9288, 3.2125) |
| Luminance | 0.1593 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.42
Dark Grass Green
#388004
ΔE00 1.51
Green
#008000
ΔE00 2.90
Forestgreen (CSS)
#228B22
ΔE00 4.65
Avocado
#568203
ΔE00 6.11
Emerald Green
#028F1E
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337F13 #5F137F
analogous
#697F13 #337F13 #137F29
triadic
#337F13 #13337F #7F1333
tetradic
#337F13 #13697F #5F137F #7F2913
square
#337F13 #13697F #5F137F #7F2913
split-complementary
#337F13 #29137F #7F1369
monochromatic
#0B1B04 #1E4A0B #337F13 #48B41B #62E02D
Accessibility & contrast
On white
5.02
#337F13 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#337F13 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337F13
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337F13 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337F13 | 1.00 | 5.02 | 4.19 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#2B7A6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #337f13; /* rgb */ color: rgb(51, 127, 19); /* oklch */ color: oklch(52.8% 0.156 138.8);
Tailwind
colors: {
custom: {
50: '#75a55c',
500: '#337f13',
950: '#000000',
},
}SCSS
$custom: #337f13; $custom-light: #75a55c; $custom-dark: #000000;
JSON
{
"hex": "#337f13",
"rgb": {
"r": 51,
"g": 127,
"b": 19
},
"hsl": {
"h": 102.222,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.52806,
"c": 0.15607,
"h": 138.8
},
"luminance": 0.1593
}Semantic roles & 50–950 ramp
primary
#337F13
secondary
#9039B4
accent
#37F1BA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79