#397E1B#397E1B
#397E1B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.148 H 138.2°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #397E1B |
|---|---|
| RGB | rgb(57, 126, 27) |
| HSL | hsl(102, 65%, 30%) |
| HSV | hsv(102, 79%, 49%) |
| CMYK | cmyk(54.8%, 0%, 78.6%, 50.6%) |
| CIE-LAB | lab(46.80, -39.93, 44.05) |
| CIE-LCH | lch(46.80, 59.45, 132.19°) |
| OKLab | oklab(52.82% -0.1103 0.0986) |
| OKLCH | oklch(52.82% 0.148 138.2) |
| XYZ | xyz(9.3457, 15.8700, 3.6074) |
| Luminance | 0.1587 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.64
Dark Grass Green
#388004
ΔE00 2.08
Green
#008000
ΔE00 3.70
Forestgreen (CSS)
#228B22
ΔE00 5.04
Darkish Green
#287C37
ΔE00 5.71
Avocado
#568203
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397E1B #601B7E
analogous
#6B7E1B #397E1B #1B7E2E
triadic
#397E1B #1B397E #7E1B39
tetradic
#397E1B #1B6B7E #601B7E #7E2E1B
square
#397E1B #1B6B7E #601B7E #7E2E1B
split-complementary
#397E1B #2E1B7E #7E1B6B
monochromatic
#0B1905 #224C10 #397E1B #50B026 #6CD63E
Accessibility & contrast
On white
5.03
#397E1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#397E1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397E1B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397E1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397E1B | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827204
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #397e1b; /* rgb */ color: rgb(57, 126, 27); /* oklch */ color: oklch(52.8% 0.148 138.2);
Tailwind
colors: {
custom: {
50: '#77a45f',
500: '#397e1b',
950: '#000000',
},
}SCSS
$custom: #397e1b; $custom-light: #77a45f; $custom-dark: #000000;
JSON
{
"hex": "#397e1b",
"rgb": {
"r": 57,
"g": 126,
"b": 27
},
"hsl": {
"h": 101.818,
"s": 64.706,
"l": 30
},
"oklch": {
"l": 0.52817,
"c": 0.14796,
"h": 138.2
},
"luminance": 0.15871
}Semantic roles & 50–950 ramp
primary
#397E1B
secondary
#9043B2
accent
#40E8B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79