#226937#226937
#226937 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.106 H 149.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #226937 |
|---|---|
| RGB | rgb(34, 105, 55) |
| HSL | hsl(138, 51%, 27%) |
| HSV | hsv(138, 68%, 41%) |
| CMYK | cmyk(67.6%, 0%, 47.6%, 58.8%) |
| CIE-LAB | lab(39.10, -34.09, 21.77) |
| CIE-LCH | lch(39.10, 40.45, 147.43°) |
| OKLab | oklab(46.34% -0.092 0.0535) |
| OKLCH | oklch(46.34% 0.106 149.8) |
| XYZ | xyz(6.4004, 10.7184, 5.3452) |
| Luminance | 0.1072 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.52
Spruce
#0A5F38
ΔE00 4.55
Hunter Green
#355E3B
ΔE00 5.73
Forest Green
#2D5A27
ΔE00 5.80
Darkish Green
#287C37
ΔE00 7.16
Deep Green
#02590F
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226937 #692254
analogous
#316922 #226937 #22695A
triadic
#226937 #372269 #693722
tetradic
#226937 #223169 #692254 #695A22
square
#226937 #223169 #692254 #695A22
split-complementary
#226937 #5A2269 #692231
monochromatic
#07170C #133B1F #226937 #31974F #43C269
Accessibility & contrast
On white
6.68
#226937 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#226937 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226937
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226937 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226937 | 1.00 | 6.68 | 3.14 | 6.68 |
| #FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A6033
Deuteranopia (green-blind)
#615A3A
Tritanopia (blue-blind)
#08675D
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #226937; /* rgb */ color: rgb(34, 105, 55); /* oklch */ color: oklch(46.3% 0.106 149.8);
Tailwind
colors: {
custom: {
50: '#66946e',
500: '#226937',
950: '#000000',
},
}SCSS
$custom: #226937; $custom-light: #66946e; $custom-dark: #000000;
JSON
{
"hex": "#226937",
"rgb": {
"r": 34,
"g": 105,
"b": 55
},
"hsl": {
"h": 137.746,
"s": 51.079,
"l": 27.255
},
"oklch": {
"l": 0.46344,
"c": 0.1064,
"h": 149.8
},
"luminance": 0.10719
}Semantic roles & 50–950 ramp
primary
#226937
secondary
#9D4A84
accent
#4DB1DB
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A