#337B1B#337B1B
#337B1B is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.147 H 139.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #337B1B |
|---|---|
| RGB | rgb(51, 123, 27) |
| HSL | hsl(105, 64%, 29%) |
| HSV | hsv(105, 78%, 48%) |
| CMYK | cmyk(58.5%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(45.56, -40.49, 42.76) |
| CIE-LCH | lch(45.56, 58.89, 133.44°) |
| OKLab | oklab(51.73% -0.1115 0.096) |
| OKLCH | oklch(51.73% 0.147 139.3) |
| XYZ | xyz(8.6457, 14.9481, 3.4664) |
| Luminance | 0.1495 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.39
Dark Grass Green
#388004
ΔE00 3.05
Green
#008000
ΔE00 3.58
Darkish Green
#287C37
ΔE00 5.05
Forestgreen (CSS)
#228B22
ΔE00 5.79
Avocado
#568203
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337B1B #631B7B
analogous
#637B1B #337B1B #1B7B33
triadic
#337B1B #1B337B #7B1B33
tetradic
#337B1B #1B637B #631B7B #7B331B
square
#337B1B #1B637B #631B7B #7B331B
split-complementary
#337B1B #331B7B #7B1B63
monochromatic
#0A1906 #1E4910 #337B1B #48AD26 #62D43C
Accessibility & contrast
On white
5.26
#337B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#337B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337B1B
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337B1B | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #337b1b; /* rgb */ color: rgb(51, 123, 27); /* oklch */ color: oklch(51.7% 0.147 139.3);
Tailwind
colors: {
custom: {
50: '#74a25f',
500: '#337b1b',
950: '#000000',
},
}SCSS
$custom: #337b1b; $custom-light: #74a25f; $custom-dark: #000000;
JSON
{
"hex": "#337b1b",
"rgb": {
"r": 51,
"g": 123,
"b": 27
},
"hsl": {
"h": 105,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.51732,
"c": 0.14708,
"h": 139.3
},
"luminance": 0.14949
}Semantic roles & 50–950 ramp
primary
#337B1B
secondary
#9443AF
accent
#41E7BD
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79