#397F38#397F38
#397F38 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.4% C 0.127 H 143.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #397F38 |
|---|---|
| RGB | rgb(57, 127, 56) |
| HSL | hsl(119, 39%, 36%) |
| HSV | hsv(119, 56%, 50%) |
| CMYK | cmyk(55.1%, 0%, 55.9%, 50.2%) |
| CIE-LAB | lab(47.41, -37.35, 31.70) |
| CIE-LCH | lch(47.41, 48.99, 139.68°) |
| OKLab | oklab(53.4% -0.1016 0.0757) |
| OKLCH | oklch(53.4% 0.127 143.3) |
| XYZ | xyz(9.9900, 16.3333, 6.3668) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.24
Tree Green
#2A7E19
ΔE00 4.49
Jungle Green
#048243
ΔE00 4.73
Forestgreen (CSS)
#228B22
ΔE00 5.97
Fern Green
#548D44
ΔE00 6.23
Green
#008000
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397F38 #7E387F
analogous
#5C7F38 #397F38 #387F5A
triadic
#397F38 #38397F #7F3839
tetradic
#397F38 #385C7F #7E387F #7F5A38
square
#397F38 #385C7F #7E387F #7F5A38
split-complementary
#397F38 #5A387F #7F385C
monochromatic
#132A13 #265525 #397F38 #4CA94B #72C071
Accessibility & contrast
On white
4.92
#397F38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#397F38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397F38
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397F38 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827431
Deuteranopia (green-blind)
#786E3D
Tritanopia (blue-blind)
#2F7C6F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #397f38; /* rgb */ color: rgb(57, 127, 56); /* oklch */ color: oklch(53.4% 0.127 143.3);
Tailwind
colors: {
custom: {
50: '#76a570',
500: '#397f38',
950: '#000000',
},
}SCSS
$custom: #397f38; $custom-light: #76a570; $custom-dark: #000000;
JSON
{
"hex": "#397f38",
"rgb": {
"r": 57,
"g": 127,
"b": 56
},
"hsl": {
"h": 119.155,
"s": 38.798,
"l": 35.882
},
"oklch": {
"l": 0.53402,
"c": 0.12669,
"h": 143.3
},
"luminance": 0.16334
}Semantic roles & 50–950 ramp
primary
#397F38
secondary
#A869A9
accent
#59CFCD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F08
muted
#7B7F7B