#397C1D#397C1D
#397C1D is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.144 H 138.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #397C1D |
|---|---|
| RGB | rgb(57, 124, 29) |
| HSL | hsl(102, 62%, 30%) |
| HSV | hsv(102, 77%, 49%) |
| CMYK | cmyk(54%, 0%, 76.6%, 51.4%) |
| CIE-LAB | lab(46.14, -38.97, 42.66) |
| CIE-LCH | lch(46.14, 57.78, 132.42°) |
| OKLab | oklab(52.28% -0.1076 0.096) |
| OKLCH | oklch(52.28% 0.144 138.3) |
| XYZ | xyz(9.1164, 15.3732, 3.6491) |
| Luminance | 0.1537 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.76
Dark Grass Green
#388004
ΔE00 2.71
Green
#008000
ΔE00 4.00
Darkish Green
#287C37
ΔE00 5.32
Forestgreen (CSS)
#228B22
ΔE00 5.65
Avocado
#568203
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C1D #601D7C
analogous
#687C1D #397C1D #1D7C31
triadic
#397C1D #1D397C #7C1D39
tetradic
#397C1D #1D687C #601D7C #7C311D
square
#397C1D #1D687C #601D7C #7C311D
split-complementary
#397C1D #311D7C #7C1D68
monochromatic
#0B1906 #224A11 #397C1D #50AE29 #6CD341
Accessibility & contrast
On white
5.15
#397C1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#397C1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C1D
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C1D | 1.00 | 5.15 | 4.07 | 5.15 |
| #FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80710A
Deuteranopia (green-blind)
#776B27
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c1d; /* rgb */ color: rgb(57, 124, 29); /* oklch */ color: oklch(52.3% 0.144 138.3);
Tailwind
colors: {
custom: {
50: '#77a260',
500: '#397c1d',
950: '#000000',
},
}SCSS
$custom: #397c1d; $custom-light: #77a260; $custom-dark: #000000;
JSON
{
"hex": "#397c1d",
"rgb": {
"r": 57,
"g": 124,
"b": 29
},
"hsl": {
"h": 102.316,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.52275,
"c": 0.14422,
"h": 138.3
},
"luminance": 0.15374
}Semantic roles & 50–950 ramp
primary
#397C1D
secondary
#9045B0
accent
#43E5B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79