#337B19#337B19
#337B19 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.148 H 139.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #337B19 |
|---|---|
| RGB | rgb(51, 123, 25) |
| HSL | hsl(104, 66%, 29%) |
| HSV | hsv(104, 80%, 48%) |
| CMYK | cmyk(58.5%, 0%, 79.7%, 51.8%) |
| CIE-LAB | lab(45.55, -40.63, 43.46) |
| CIE-LCH | lch(45.55, 59.50, 133.07°) |
| OKLab | oklab(51.72% -0.112 0.0971) |
| OKLCH | oklch(51.72% 0.148 139.1) |
| XYZ | xyz(8.6233, 14.9392, 3.3486) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.40
Dark Grass Green
#388004
ΔE00 2.87
Green
#008000
ΔE00 3.51
Darkish Green
#287C37
ΔE00 5.29
Forestgreen (CSS)
#228B22
ΔE00 5.81
Avocado
#568203
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337B19 #61197B
analogous
#647B19 #337B19 #197B30
triadic
#337B19 #19337B #7B1933
tetradic
#337B19 #19647B #61197B #7B3019
square
#337B19 #19647B #61197B #7B3019
split-complementary
#337B19 #30197B #7B1964
monochromatic
#0B1905 #1E480F #337B19 #48AE23 #62D738
Accessibility & contrast
On white
5.27
#337B19 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#337B19 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337B19
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337B19 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337B19 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7002
Deuteranopia (green-blind)
#766A24
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #337b19; /* rgb */ color: rgb(51, 123, 25); /* oklch */ color: oklch(51.7% 0.148 139.1);
Tailwind
colors: {
custom: {
50: '#74a25e',
500: '#337b19',
950: '#000000',
},
}SCSS
$custom: #337b19; $custom-light: #74a25e; $custom-dark: #000000;
JSON
{
"hex": "#337b19",
"rgb": {
"r": 51,
"g": 123,
"b": 25
},
"hsl": {
"h": 104.082,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.51717,
"c": 0.14822,
"h": 139.1
},
"luminance": 0.1494
}Semantic roles & 50–950 ramp
primary
#337B19
secondary
#9240AF
accent
#3FE9BC
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79