#397C1B#397C1B
#397C1B is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.145 H 138.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #397C1B |
|---|---|
| RGB | rgb(57, 124, 27) |
| HSL | hsl(101, 64%, 30%) |
| HSV | hsv(101, 78%, 49%) |
| CMYK | cmyk(54%, 0%, 78.2%, 51.4%) |
| CIE-LAB | lab(46.13, -39.12, 43.39) |
| CIE-LCH | lch(46.13, 58.42, 132.04°) |
| OKLab | oklab(52.26% -0.1082 0.0972) |
| OKLCH | oklch(52.26% 0.145 138.1) |
| XYZ | xyz(9.0925, 15.3636, 3.5230) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.78
Dark Grass Green
#388004
ΔE00 2.50
Green
#008000
ΔE00 3.94
Darkish Green
#287C37
ΔE00 5.56
Forestgreen (CSS)
#228B22
ΔE00 5.68
Avocado
#568203
ΔE00 6.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C1B #5E1B7C
analogous
#6A7C1B #397C1B #1B7C2D
triadic
#397C1B #1B397C #7C1B39
tetradic
#397C1B #1B6A7C #5E1B7C #7C2D1B
square
#397C1B #1B6A7C #5E1B7C #7C2D1B
split-complementary
#397C1B #2D1B7C #7C1B6A
monochromatic
#0C1905 #224A10 #397C1B #50AE26 #6CD53D
Accessibility & contrast
On white
5.16
#397C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#397C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C1B
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C1B | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807106
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#34776A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c1b; /* rgb */ color: rgb(57, 124, 27); /* oklch */ color: oklch(52.3% 0.145 138.1);
Tailwind
colors: {
custom: {
50: '#77a25f',
500: '#397c1b',
950: '#000000',
},
}SCSS
$custom: #397c1b; $custom-light: #77a25f; $custom-dark: #000000;
JSON
{
"hex": "#397c1b",
"rgb": {
"r": 57,
"g": 124,
"b": 27
},
"hsl": {
"h": 101.443,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.52261,
"c": 0.14543,
"h": 138.1
},
"luminance": 0.15364
}Semantic roles & 50–950 ramp
primary
#397C1B
secondary
#8E43B0
accent
#41E7B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79