#397C1F#397C1F
#397C1F is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.143 H 138.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).
Color values
| HEX | #397C1F |
|---|---|
| RGB | rgb(57, 124, 31) |
| HSL | hsl(103, 60%, 30%) |
| HSV | hsv(103, 75%, 49%) |
| CMYK | cmyk(54%, 0%, 75%, 51.4%) |
| CIE-LAB | lab(46.15, -38.82, 41.90) |
| CIE-LCH | lch(46.15, 57.12, 132.82°) |
| OKLab | oklab(52.29% -0.1071 0.0947) |
| OKLCH | oklch(52.29% 0.143 138.5) |
| XYZ | xyz(9.1420, 15.3834, 3.7836) |
| Luminance | 0.1538 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.77
Dark Grass Green
#388004
ΔE00 2.94
Green
#008000
ΔE00 4.09
Darkish Green
#287C37
ΔE00 5.08
Forestgreen (CSS)
#228B22
ΔE00 5.64
Avocado
#568203
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C1F #621F7C
analogous
#677C1F #397C1F #1F7C34
triadic
#397C1F #1F397C #7C1F39
tetradic
#397C1F #1F677C #621F7C #7C341F
square
#397C1F #1F677C #621F7C #7C341F
split-complementary
#397C1F #341F7C #7C1F67
monochromatic
#0C1A07 #224B13 #397C1F #50AD2B #6CD045
Accessibility & contrast
On white
5.15
#397C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#397C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C1F
5.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C1F | 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)
#80710E
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c1f; /* rgb */ color: rgb(57, 124, 31); /* oklch */ color: oklch(52.3% 0.143 138.5);
Tailwind
colors: {
custom: {
50: '#77a261',
500: '#397c1f',
950: '#000000',
},
}SCSS
$custom: #397c1f; $custom-light: #77a261; $custom-dark: #000000;
JSON
{
"hex": "#397c1f",
"rgb": {
"r": 57,
"g": 124,
"b": 31
},
"hsl": {
"h": 103.226,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.52291,
"c": 0.14296,
"h": 138.5
},
"luminance": 0.15384
}Semantic roles & 50–950 ramp
primary
#397C1F
secondary
#9248AF
accent
#45E3B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79