#397C21#397C21
#397C21 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.142 H 138.8°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #397C21 |
|---|---|
| RGB | rgb(57, 124, 33) |
| HSL | hsl(104, 58%, 31%) |
| HSV | hsv(104, 73%, 49%) |
| CMYK | cmyk(54%, 0%, 73.4%, 51.4%) |
| CIE-LAB | lab(46.17, -38.66, 41.11) |
| CIE-LCH | lch(46.17, 56.43, 133.24°) |
| OKLab | oklab(52.31% -0.1065 0.0933) |
| OKLCH | oklch(52.31% 0.142 138.8) |
| XYZ | xyz(9.1692, 15.3943, 3.9268) |
| Luminance | 0.1540 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.82
Dark Grass Green
#388004
ΔE00 3.19
Green
#008000
ΔE00 4.19
Darkish Green
#287C37
ΔE00 4.82
Forestgreen (CSS)
#228B22
ΔE00 5.63
Avocado
#568203
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C21 #64217C
analogous
#667C21 #397C21 #217C36
triadic
#397C21 #21397C #7C2139
tetradic
#397C21 #21667C #64217C #7C3621
square
#397C21 #21667C #64217C #7C3621
split-complementary
#397C21 #36217C #7C2166
monochromatic
#0D1B07 #234C14 #397C21 #4FAC2E #6CCF49
Accessibility & contrast
On white
5.15
#397C21 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#397C21 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C21
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C21 | 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)
#807112
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c21; /* rgb */ color: rgb(57, 124, 33); /* oklch */ color: oklch(52.3% 0.142 138.8);
Tailwind
colors: {
custom: {
50: '#77a262',
500: '#397c21',
950: '#000000',
},
}SCSS
$custom: #397c21; $custom-light: #77a262; $custom-dark: #000000;
JSON
{
"hex": "#397c21",
"rgb": {
"r": 57,
"g": 124,
"b": 33
},
"hsl": {
"h": 104.176,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.52308,
"c": 0.14163,
"h": 138.8
},
"luminance": 0.15395
}Semantic roles & 50–950 ramp
primary
#397C21
secondary
#944AAF
accent
#47E1B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A