#167040#167040
#167040 is a mid, moderate green. Relative luminance 0.121; OKLCH L 48.2% C 0.112 H 154.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #167040 |
|---|---|
| RGB | rgb(22, 112, 64) |
| HSL | hsl(148, 67%, 26%) |
| HSV | hsv(148, 80%, 44%) |
| CMYK | cmyk(80.4%, 0%, 42.9%, 56.1%) |
| CIE-LAB | lab(41.42, -37.42, 19.58) |
| CIE-LCH | lch(41.42, 42.23, 152.38°) |
| OKLab | oklab(48.23% -0.1008 0.0486) |
| OKLCH | oklch(48.23% 0.112 154.2) |
| XYZ | xyz(7.0498, 12.1282, 6.8189) |
| Luminance | 0.1213 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.82
Darkish Green
#287C37
ΔE00 6.14
Jungle Green
#048243
ΔE00 6.58
Pine
#2B5D34
ΔE00 6.94
Hunter Green
#355E3B
ΔE00 7.71
Forest Green
#2D5A27
ΔE00 8.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#167040 #701646
analogous
#197016 #167040 #16706D
triadic
#167040 #401670 #704016
tetradic
#167040 #161970 #701646 #706D16
square
#167040 #161970 #701646 #706D16
split-complementary
#167040 #6D1670 #701619
monochromatic
#051A0F #0C3D23 #167040 #20A35D #2BD57B
Accessibility & contrast
On white
6.13
#167040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#167040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #167040
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##167040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##167040 | 1.00 | 6.13 | 3.43 | 6.13 |
| #FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70663D
Deuteranopia (green-blind)
#655F43
Tritanopia (blue-blind)
#006F64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #167040; /* rgb */ color: rgb(22, 112, 64); /* oklch */ color: oklch(48.2% 0.112 154.2);
Tailwind
colors: {
custom: {
50: '#639a75',
500: '#167040',
950: '#000000',
},
}SCSS
$custom: #167040; $custom-light: #639a75; $custom-dark: #000000;
JSON
{
"hex": "#167040",
"rgb": {
"r": 22,
"g": 112,
"b": 64
},
"hsl": {
"h": 148,
"s": 67.164,
"l": 26.275
},
"oklch": {
"l": 0.48226,
"c": 0.1119,
"h": 154.2
},
"luminance": 0.12129
}Semantic roles & 50–950 ramp
primary
#167040
secondary
#A63C74
accent
#3E9AEA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B