#337C1F#337C1F
#337C1F is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.146 H 139.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #337C1F |
|---|---|
| RGB | rgb(51, 124, 31) |
| HSL | hsl(107, 60%, 30%) |
| HSV | hsv(107, 75%, 49%) |
| CMYK | cmyk(58.9%, 0%, 75%, 51.4%) |
| CIE-LAB | lab(45.93, -40.58, 41.60) |
| CIE-LCH | lch(45.93, 58.11, 134.29°) |
| OKLab | oklab(52.04% -0.1114 0.0941) |
| OKLCH | oklch(52.04% 0.146 139.8) |
| XYZ | xyz(8.8198, 15.2173, 3.7685) |
| Luminance | 0.1522 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.24
Dark Grass Green
#388004
ΔE00 3.26
Green
#008000
ΔE00 3.61
Darkish Green
#287C37
ΔE00 4.60
Forestgreen (CSS)
#228B22
ΔE00 5.43
Emerald Green
#028F1E
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#337C1F #681F7C
analogous
#617C1F #337C1F #1F7C3A
triadic
#337C1F #1F337C #7C1F33
tetradic
#337C1F #1F617C #681F7C #7C3A1F
square
#337C1F #1F617C #681F7C #7C3A1F
split-complementary
#337C1F #3A1F7C #7C1F61
monochromatic
#0B1A07 #1F4B13 #337C1F #47AD2B #63D045
Accessibility & contrast
On white
5.19
#337C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#337C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #337C1F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##337C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##337C1F | 1.00 | 5.19 | 4.04 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710F
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#2A786A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #337c1f; /* rgb */ color: rgb(51, 124, 31); /* oklch */ color: oklch(52.0% 0.146 139.8);
Tailwind
colors: {
custom: {
50: '#74a361',
500: '#337c1f',
950: '#000000',
},
}SCSS
$custom: #337c1f; $custom-light: #74a361; $custom-dark: #000000;
JSON
{
"hex": "#337c1f",
"rgb": {
"r": 51,
"g": 124,
"b": 31
},
"hsl": {
"h": 107.097,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.52043,
"c": 0.14587,
"h": 139.8
},
"luminance": 0.15218
}Semantic roles & 50–950 ramp
primary
#337C1F
secondary
#9948AF
accent
#45E3C1
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79