#397B1B#397B1B
#397B1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.144 H 138.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).
Color values
| HEX | #397B1B |
|---|---|
| RGB | rgb(57, 123, 27) |
| HSL | hsl(101, 64%, 29%) |
| HSV | hsv(101, 78%, 48%) |
| CMYK | cmyk(53.7%, 0%, 78%, 51.8%) |
| CIE-LAB | lab(45.79, -38.71, 43.06) |
| CIE-LCH | lch(45.79, 57.90, 131.96°) |
| OKLab | oklab(51.98% -0.1071 0.0965) |
| OKLCH | oklch(51.98% 0.144 138) |
| XYZ | xyz(8.9678, 15.1142, 3.4815) |
| Luminance | 0.1512 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.95
Dark Grass Green
#388004
ΔE00 2.76
Green
#008000
ΔE00 4.10
Darkish Green
#287C37
ΔE00 5.52
Forestgreen (CSS)
#228B22
ΔE00 6.01
Avocado
#568203
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397B1B #5D1B7B
analogous
#697B1B #397B1B #1B7B2D
triadic
#397B1B #1B397B #7B1B39
tetradic
#397B1B #1B697B #5D1B7B #7B2D1B
square
#397B1B #1B697B #5D1B7B #7B2D1B
split-complementary
#397B1B #2D1B7B #7B1B69
monochromatic
#0C1906 #224910 #397B1B #50AD26 #6CD43C
Accessibility & contrast
On white
5.22
#397B1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#397B1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397B1B
5.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397B1B | 1.00 | 5.22 | 4.02 | 5.22 |
| #FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#347669
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #397b1b; /* rgb */ color: rgb(57, 123, 27); /* oklch */ color: oklch(52.0% 0.144 138.0);
Tailwind
colors: {
custom: {
50: '#77a25f',
500: '#397b1b',
950: '#000000',
},
}SCSS
$custom: #397b1b; $custom-light: #77a25f; $custom-dark: #000000;
JSON
{
"hex": "#397b1b",
"rgb": {
"r": 57,
"g": 123,
"b": 27
},
"hsl": {
"h": 101.25,
"s": 64,
"l": 29.412
},
"oklch": {
"l": 0.51982,
"c": 0.14415,
"h": 138
},
"luminance": 0.15115
}Semantic roles & 50–950 ramp
primary
#397B1B
secondary
#8D43AF
accent
#41E7B3
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79