#397822#397822
#397822 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.136 H 138.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #397822 |
|---|---|
| RGB | rgb(57, 120, 34) |
| HSL | hsl(104, 56%, 30%) |
| HSV | hsv(104, 72%, 47%) |
| CMYK | cmyk(52.5%, 0%, 71.7%, 52.9%) |
| CIE-LAB | lab(44.83, -36.91, 39.30) |
| CIE-LCH | lch(44.83, 53.92, 133.21°) |
| OKLab | oklab(51.21% -0.1017 0.0897) |
| OKLCH | oklch(51.21% 0.136 138.6) |
| XYZ | xyz(8.6922, 14.4177, 3.8379) |
| Luminance | 0.1442 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.85
Dark Grass Green
#388004
ΔE00 4.32
Darkish Green
#287C37
ΔE00 4.66
Green
#008000
ΔE00 5.05
Forestgreen (CSS)
#228B22
ΔE00 7.02
Avocado
#568203
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397822 #612278
analogous
#647822 #397822 #227836
triadic
#397822 #223978 #782239
tetradic
#397822 #226478 #612278 #783622
square
#397822 #226478 #612278 #783622
split-complementary
#397822 #362278 #782264
monochromatic
#0C1907 #224814 #397822 #50A830 #6CCB49
Accessibility & contrast
On white
5.41
#397822 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#397822 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397822
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397822 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397822 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D15
Deuteranopia (green-blind)
#73682A
Tritanopia (blue-blind)
#347467
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #397822; /* rgb */ color: rgb(57, 120, 34); /* oklch */ color: oklch(51.2% 0.136 138.6);
Tailwind
colors: {
custom: {
50: '#769f62',
500: '#397822',
950: '#000000',
},
}SCSS
$custom: #397822; $custom-light: #769f62; $custom-dark: #000000;
JSON
{
"hex": "#397822",
"rgb": {
"r": 57,
"g": 120,
"b": 34
},
"hsl": {
"h": 103.953,
"s": 55.844,
"l": 30.196
},
"oklch": {
"l": 0.51205,
"c": 0.13561,
"h": 138.6
},
"luminance": 0.14418
}Semantic roles & 50–950 ramp
primary
#397822
secondary
#914BAB
accent
#49DFB7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A