#337F26#337F26
#337F26 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.145 H 140.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #337F26 |
|---|---|
| RGB | rgb(51, 127, 38) |
| HSL | hsl(111, 54%, 32%) |
| HSV | hsv(111, 70%, 50%) |
| CMYK | cmyk(59.8%, 0%, 70.1%, 50.2%) |
| CIE-LAB | lab(47.00, -41.13, 39.81) |
| CIE-LCH | lch(47.00, 57.24, 135.93°) |
| OKLab | oklab(52.95% -0.1125 0.0913) |
| OKLCH | oklch(52.95% 0.145 140.9) |
| XYZ | xyz(9.3040, 16.0217, 4.4355) |
| Luminance | 0.1602 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.61
Dark Grass Green
#388004
ΔE00 3.73
Green
#008000
ΔE00 3.82
Darkish Green
#287C37
ΔE00 3.99
Forestgreen (CSS)
#228B22
ΔE00 4.48
Emerald Green
#028F1E
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337F26 #72267F
analogous
#607F26 #337F26 #267F46
triadic
#337F26 #26337F #7F2633
tetradic
#337F26 #26607F #72267F #7F4626
square
#337F26 #26607F #72267F #7F4626
split-complementary
#337F26 #46267F #7F2660
monochromatic
#0D210A #205018 #337F26 #46AE34 #65CC54
Accessibility & contrast
On white
4.99
#337F26 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.20
#337F26 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337F26
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337F26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337F26 | 1.00 | 4.99 | 4.20 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#297B6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #337f26; /* rgb */ color: rgb(51, 127, 38); /* oklch */ color: oklch(52.9% 0.145 140.9);
Tailwind
colors: {
custom: {
50: '#74a565',
500: '#337f26',
950: '#000000',
},
}SCSS
$custom: #337f26; $custom-light: #74a565; $custom-dark: #000000;
JSON
{
"hex": "#337f26",
"rgb": {
"r": 51,
"g": 127,
"b": 38
},
"hsl": {
"h": 111.236,
"s": 53.939,
"l": 32.353
},
"oklch": {
"l": 0.52946,
"c": 0.1449,
"h": 140.9
},
"luminance": 0.16022
}Semantic roles & 50–950 ramp
primary
#337F26
secondary
#A251B0
accent
#4ADDC8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A