#397C1A#397C1A
#397C1A is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.146 H 138.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #397C1A |
|---|---|
| RGB | rgb(57, 124, 26) |
| HSL | hsl(101, 65%, 29%) |
| HSV | hsv(101, 79%, 49%) |
| CMYK | cmyk(54%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(46.12, -39.19, 43.74) |
| CIE-LCH | lch(46.12, 58.73, 131.86°) |
| OKLab | oklab(52.25% -0.1084 0.0978) |
| OKLCH | oklch(52.25% 0.146 138) |
| XYZ | xyz(9.0811, 15.3591, 3.4631) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.81
Dark Grass Green
#388004
ΔE00 2.40
Green
#008000
ΔE00 3.91
Darkish Green
#287C37
ΔE00 5.68
Forestgreen (CSS)
#228B22
ΔE00 5.70
Avocado
#568203
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397C1A #5D1A7C
analogous
#6A7C1A #397C1A #1A7C2C
triadic
#397C1A #1A397C #7C1A39
tetradic
#397C1A #1A6A7C #5D1A7C #7C2C1A
square
#397C1A #1A6A7C #5D1A7C #7C2C1A
split-complementary
#397C1A #2C1A7C #7C1A6A
monochromatic
#0C1905 #22490F #397C1A #50AF25 #6CD63B
Accessibility & contrast
On white
5.16
#397C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#397C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397C1A
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397C1A | 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)
#807103
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #397c1a; /* rgb */ color: rgb(57, 124, 26); /* oklch */ color: oklch(52.3% 0.146 138.0);
Tailwind
colors: {
custom: {
50: '#77a25f',
500: '#397c1a',
950: '#000000',
},
}SCSS
$custom: #397c1a; $custom-light: #77a25f; $custom-dark: #000000;
JSON
{
"hex": "#397c1a",
"rgb": {
"r": 57,
"g": 124,
"b": 26
},
"hsl": {
"h": 101.02,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.52254,
"c": 0.146,
"h": 138
},
"luminance": 0.1536
}Semantic roles & 50–950 ramp
primary
#397C1A
secondary
#8D42B0
accent
#40E8B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79