#337C15#337C15
#337C15 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.152 H 138.7°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #337C15 |
|---|---|
| RGB | rgb(51, 124, 21) |
| HSL | hsl(103, 71%, 28%) |
| HSV | hsv(103, 83%, 49%) |
| CMYK | cmyk(58.9%, 0%, 83.1%, 51.4%) |
| CIE-LAB | lab(45.87, -41.28, 45.09) |
| CIE-LCH | lch(45.87, 61.13, 132.47°) |
| OKLab | oklab(51.97% -0.1139 0.0999) |
| OKLCH | oklch(51.97% 0.152 138.7) |
| XYZ | xyz(8.7079, 15.1725, 3.1790) |
| Luminance | 0.1517 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.34
Dark Grass Green
#388004
ΔE00 2.28
Green
#008000
ΔE00 3.23
Forestgreen (CSS)
#228B22
ΔE00 5.55
Darkish Green
#287C37
ΔE00 5.76
Avocado
#568203
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337C15 #5E157C
analogous
#667C15 #337C15 #157C2A
triadic
#337C15 #15337C #7C1533
tetradic
#337C15 #15667C #5E157C #7C2A15
square
#337C15 #15667C #5E157C #7C2A15
split-complementary
#337C15 #2A157C #7C1566
monochromatic
#0B1A04 #1D480C #337C15 #49B01E #62DC30
Accessibility & contrast
On white
5.20
#337C15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#337C15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337C15
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337C15 | 1.00 | 5.20 | 4.03 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A21
Tritanopia (blue-blind)
#2C7769
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #337c15; /* rgb */ color: rgb(51, 124, 21); /* oklch */ color: oklch(52.0% 0.152 138.7);
Tailwind
colors: {
custom: {
50: '#74a35c',
500: '#337c15',
950: '#000000',
},
}SCSS
$custom: #337c15; $custom-light: #74a35c; $custom-dark: #000000;
JSON
{
"hex": "#337c15",
"rgb": {
"r": 51,
"g": 124,
"b": 21
},
"hsl": {
"h": 102.524,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.51974,
"c": 0.15152,
"h": 138.7
},
"luminance": 0.15173
}Semantic roles & 50–950 ramp
primary
#337C15
secondary
#8F3CB1
accent
#3AEEB9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79