#337B2C#337B2C
#337B2C is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.135 H 141.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).
Color values
| HEX | #337B2C |
|---|---|
| RGB | rgb(51, 123, 44) |
| HSL | hsl(115, 47%, 33%) |
| HSV | hsv(115, 64%, 48%) |
| CMYK | cmyk(58.5%, 0%, 64.2%, 51.8%) |
| CIE-LAB | lab(45.70, -38.89, 35.64) |
| CIE-LCH | lch(45.70, 52.76, 137.50°) |
| OKLab | oklab(51.89% -0.1061 0.0832) |
| OKLCH | oklch(51.89% 0.135 141.9) |
| XYZ | xyz(8.9024, 15.0508, 4.8183) |
| Luminance | 0.1505 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.63
Tree Green
#2A7E19
ΔE00 2.96
Green
#008000
ΔE00 5.09
Dark Grass Green
#388004
ΔE00 5.30
Jungle Green
#048243
ΔE00 5.93
Forestgreen (CSS)
#228B22
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337B2C #742C7B
analogous
#5A7B2C #337B2C #2C7B4D
triadic
#337B2C #2C337B #7B2C33
tetradic
#337B2C #2C5A7B #742C7B #7B4D2C
square
#337B2C #2C5A7B #742C7B #7B4D2C
split-complementary
#337B2C #4D2C7B #7B2C5A
monochromatic
#0E210C #204E1C #337B2C #46A83C #66C55D
Accessibility & contrast
On white
5.24
#337B2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.01
#337B2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337B2C
5.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337B2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337B2C | 1.00 | 5.24 | 4.01 | 5.24 |
| #FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7023
Deuteranopia (green-blind)
#756A33
Tritanopia (blue-blind)
#29776A
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #337b2c; /* rgb */ color: rgb(51, 123, 44); /* oklch */ color: oklch(51.9% 0.135 141.9);
Tailwind
colors: {
custom: {
50: '#73a268',
500: '#337b2c',
950: '#000000',
},
}SCSS
$custom: #337b2c; $custom-light: #73a268; $custom-dark: #000000;
JSON
{
"hex": "#337b2c",
"rgb": {
"r": 51,
"g": 123,
"b": 44
},
"hsl": {
"h": 114.684,
"s": 47.305,
"l": 32.745
},
"oklch": {
"l": 0.51893,
"c": 0.13481,
"h": 141.9
},
"luminance": 0.15052
}Semantic roles & 50–950 ramp
primary
#337B2C
secondary
#A458AB
accent
#51D7CB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A