#397C22#397C22
#397C22 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.141 H 138.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #397C22 |
|---|---|
| RGB | rgb(57, 124, 34) |
| HSL | hsl(105, 57%, 31%) |
| HSV | hsv(105, 73%, 49%) |
| CMYK | cmyk(54%, 0%, 72.6%, 51.4%) |
| CIE-LAB | lab(46.18, -38.57, 40.71) |
| CIE-LCH | lch(46.18, 56.08, 133.46°) |
| OKLab | oklab(52.32% -0.1062 0.0926) |
| OKLCH | oklch(52.32% 0.141 138.9) |
| XYZ | xyz(9.1834, 15.3999, 4.0016) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.87
Dark Grass Green
#388004
ΔE00 3.31
Green
#008000
ΔE00 4.25
Darkish Green
#287C37
ΔE00 4.69
Forestgreen (CSS)
#228B22
ΔE00 5.64
Avocado
#568203
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C22 #65227C
analogous
#667C22 #397C22 #227C38
triadic
#397C22 #22397C #7C2239
tetradic
#397C22 #22667C #65227C #7C3822
square
#397C22 #22667C #65227C #7C3822
split-complementary
#397C22 #38227C #7C2266
monochromatic
#0D1C08 #234C15 #397C22 #4FAC2F #6CCE4B
Accessibility & contrast
On white
5.15
#397C22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#397C22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C22
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C22 | 1.00 | 5.15 | 4.08 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807114
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c22; /* rgb */ color: rgb(57, 124, 34); /* oklch */ color: oklch(52.3% 0.141 138.9);
Tailwind
colors: {
custom: {
50: '#77a263',
500: '#397c22',
950: '#000000',
},
}SCSS
$custom: #397c22; $custom-light: #77a263; $custom-dark: #000000;
JSON
{
"hex": "#397c22",
"rgb": {
"r": 57,
"g": 124,
"b": 34
},
"hsl": {
"h": 104.667,
"s": 56.962,
"l": 30.98
},
"oklch": {
"l": 0.52317,
"c": 0.14094,
"h": 138.9
},
"luminance": 0.15401
}Semantic roles & 50–950 ramp
primary
#397C22
secondary
#954BAF
accent
#48E0B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A