#397D1C#397D1C
#397D1C is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.146 H 138.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #397D1C |
|---|---|
| RGB | rgb(57, 125, 28) |
| HSL | hsl(102, 63%, 30%) |
| HSV | hsv(102, 78%, 49%) |
| CMYK | cmyk(54.4%, 0%, 77.6%, 51%) |
| CIE-LAB | lab(46.47, -39.45, 43.36) |
| CIE-LCH | lch(46.47, 58.62, 132.30°) |
| OKLab | oklab(52.55% -0.109 0.0973) |
| OKLCH | oklch(52.55% 0.146 138.3) |
| XYZ | xyz(9.2302, 15.6202, 3.6270) |
| Luminance | 0.1562 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.65
Dark Grass Green
#388004
ΔE00 2.38
Green
#008000
ΔE00 3.84
Forestgreen (CSS)
#228B22
ΔE00 5.34
Darkish Green
#287C37
ΔE00 5.51
Avocado
#568203
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397D1C #601C7D
analogous
#697D1C #397D1C #1C7D30
triadic
#397D1C #1C397D #7D1C39
tetradic
#397D1C #1C697D #601C7D #7D301C
square
#397D1C #1C697D #601C7D #7D301C
split-complementary
#397D1C #301C7D #7D1C69
monochromatic
#0B1906 #224B11 #397D1C #50AF27 #6CD43F
Accessibility & contrast
On white
5.09
#397D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#397D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397D1C
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397D1C | 1.00 | 5.09 | 4.12 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #397d1c; /* rgb */ color: rgb(57, 125, 28); /* oklch */ color: oklch(52.5% 0.146 138.3);
Tailwind
colors: {
custom: {
50: '#77a360',
500: '#397d1c',
950: '#000000',
},
}SCSS
$custom: #397d1c; $custom-light: #77a360; $custom-dark: #000000;
JSON
{
"hex": "#397d1c",
"rgb": {
"r": 57,
"g": 125,
"b": 28
},
"hsl": {
"h": 102.062,
"s": 63.399,
"l": 30
},
"oklch": {
"l": 0.52546,
"c": 0.14611,
"h": 138.3
},
"luminance": 0.15621
}Semantic roles & 50–950 ramp
primary
#397D1C
secondary
#9044B1
accent
#41E6B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79