#396227#396227
#396227 is a mid, moderate green. Relative luminance 0.098; OKLCH L 45.1% C 0.100 H 137.2°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).
Color values
| HEX | #396227 |
|---|---|
| RGB | rgb(57, 98, 39) |
| HSL | hsl(102, 43%, 27%) |
| HSV | hsv(102, 60%, 38%) |
| CMYK | cmyk(41.8%, 0%, 60.2%, 61.6%) |
| CIE-LAB | lab(37.39, -26.50, 28.69) |
| CIE-LCH | lch(37.39, 39.06, 132.73°) |
| OKLab | oklab(45.13% -0.073 0.0677) |
| OKLCH | oklch(45.13% 0.1 137.2) |
| XYZ | xyz(6.4210, 9.7514, 3.4629) |
| Luminance | 0.0975 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.50
Pine
#2B5D34
ΔE00 5.48
Camo Green
#526525
ΔE00 6.10
Navy Green
#35530A
ΔE00 6.14
Darkolivegreen
#556B2F
ΔE00 6.18
Hunter Green
#355E3B
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#396227 #502762
analogous
#576227 #396227 #276233
triadic
#396227 #273962 #622739
tetradic
#396227 #275762 #502762 #623327
square
#396227 #275762 #502762 #623327
split-complementary
#396227 #332762 #622757
monochromatic
#0D1609 #203616 #396227 #528E38 #6DB84C
Accessibility & contrast
On white
7.12
#396227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#396227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #396227
7.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##396227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##396227 | 1.00 | 7.12 | 2.95 | 7.12 |
| #FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655A21
Deuteranopia (green-blind)
#5F572B
Tritanopia (blue-blind)
#375F55
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #396227; /* rgb */ color: rgb(57, 98, 39); /* oklch */ color: oklch(45.1% 0.100 137.2);
Tailwind
colors: {
custom: {
50: '#728f63',
500: '#396227',
950: '#000000',
},
}SCSS
$custom: #396227; $custom-light: #728f63; $custom-dark: #000000;
JSON
{
"hex": "#396227",
"rgb": {
"r": 57,
"g": 98,
"b": 39
},
"hsl": {
"h": 101.695,
"s": 43.066,
"l": 26.863
},
"oklch": {
"l": 0.45128,
"c": 0.0996,
"h": 137.2
},
"luminance": 0.09752
}Semantic roles & 50–950 ramp
primary
#396227
secondary
#805095
accent
#55D3AC
background
#F7F8F6
surface
#EDF0EB
border
#C8CBC6
text
#080C05
muted
#7B7D7A