#397226#397226
#397226 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.6% C 0.124 H 138.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #397226 |
|---|---|
| RGB | rgb(57, 114, 38) |
| HSL | hsl(105, 50%, 30%) |
| HSV | hsv(105, 67%, 45%) |
| CMYK | cmyk(50%, 0%, 66.7%, 55.3%) |
| CIE-LAB | lab(42.83, -33.96, 35.35) |
| CIE-LCH | lch(42.83, 49.02, 133.85°) |
| OKLab | oklab(49.58% -0.0934 0.0819) |
| OKLCH | oklch(49.58% 0.124 138.8) |
| XYZ | xyz(8.0542, 13.0439, 3.9267) |
| Luminance | 0.1304 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.97
Tree Green
#2A7E19
ΔE00 5.03
Dark Grass Green
#388004
ΔE00 6.60
Darkgreen
#006400
ΔE00 6.71
Darkolivegreen
#556B2F
ΔE00 6.77
Green
#008000
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#397226 #5F2672
analogous
#5F7226 #397226 #267239
triadic
#397226 #263972 #722639
tetradic
#397226 #265F72 #5F2672 #723926
square
#397226 #265F72 #5F2672 #723926
split-complementary
#397226 #392672 #72265F
monochromatic
#0B1708 #224417 #397226 #50A035 #6CC44E
Accessibility & contrast
On white
5.82
#397226 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#397226 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #397226
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##397226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##397226 | 1.00 | 5.82 | 3.61 | 5.82 |
| #FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75681D
Deuteranopia (green-blind)
#6E632C
Tritanopia (blue-blind)
#356E62
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #397226; /* rgb */ color: rgb(57, 114, 38); /* oklch */ color: oklch(49.6% 0.124 138.8);
Tailwind
colors: {
custom: {
50: '#759b64',
500: '#397226',
950: '#000000',
},
}SCSS
$custom: #397226; $custom-light: #759b64; $custom-dark: #000000;
JSON
{
"hex": "#397226",
"rgb": {
"r": 57,
"g": 114,
"b": 38
},
"hsl": {
"h": 105,
"s": 50,
"l": 29.804
},
"oklch": {
"l": 0.49575,
"c": 0.12424,
"h": 138.8
},
"luminance": 0.13044
}Semantic roles & 50–950 ramp
primary
#397226
secondary
#8F4FA5
accent
#4EDAB7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A