#337C42#337C42
#337C42 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.115 H 148.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #337C42 |
|---|---|
| RGB | rgb(51, 124, 66) |
| HSL | hsl(132, 42%, 34%) |
| HSV | hsv(132, 59%, 49%) |
| CMYK | cmyk(58.9%, 0%, 46.8%, 51.4%) |
| CIE-LAB | lab(46.33, -36.16, 24.96) |
| CIE-LCH | lch(46.33, 43.93, 145.39°) |
| OKLab | oklab(52.5% -0.0979 0.0612) |
| OKLCH | oklch(52.5% 0.115 148) |
| XYZ | xyz(9.5556, 15.5116, 7.6437) |
| Luminance | 0.1551 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.33
Jungle Green
#048243
ΔE00 3.55
Sea Green
#2E8B57
ΔE00 6.07
Dark Sage
#598556
ΔE00 6.79
Tree Green
#2A7E19
ΔE00 7.06
Dark Sea Green
#11875D
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337C42 #7C336D
analogous
#497C33 #337C42 #337C67
triadic
#337C42 #42337C #7C4233
tetradic
#337C42 #33497C #7C336D #7C6733
square
#337C42 #33497C #7C336D #7C6733
split-complementary
#337C42 #67337C #7C3349
monochromatic
#0F2514 #21512B #337C42 #45A759 #68C17B
Accessibility & contrast
On white
5.12
#337C42 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.10
#337C42 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337C42
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337C42 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337C42 | 1.00 | 5.12 | 4.10 | 5.12 |
| #FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D723E
Deuteranopia (green-blind)
#746B46
Tritanopia (blue-blind)
#227A6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #337c42; /* rgb */ color: rgb(51, 124, 66); /* oklch */ color: oklch(52.5% 0.115 148.0);
Tailwind
colors: {
custom: {
50: '#72a277',
500: '#337c42',
950: '#000000',
},
}SCSS
$custom: #337c42; $custom-light: #72a277; $custom-dark: #000000;
JSON
{
"hex": "#337c42",
"rgb": {
"r": 51,
"g": 124,
"b": 66
},
"hsl": {
"h": 132.329,
"s": 41.714,
"l": 34.314
},
"oklch": {
"l": 0.52498,
"c": 0.11541,
"h": 148
},
"luminance": 0.15512
}Semantic roles & 50–950 ramp
primary
#337C42
secondary
#A9629A
accent
#56B8D2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B