#226837#226837
#226837 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.1% C 0.105 H 150.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #226837 |
|---|---|
| RGB | rgb(34, 104, 55) |
| HSL | hsl(138, 51%, 27%) |
| HSV | hsv(138, 67%, 41%) |
| CMYK | cmyk(67.3%, 0%, 47.1%, 59.2%) |
| CIE-LAB | lab(38.75, -33.66, 21.32) |
| CIE-LCH | lch(38.75, 39.85, 147.65°) |
| OKLab | oklab(46.06% -0.0909 0.0524) |
| OKLCH | oklch(46.06% 0.105 150) |
| XYZ | xyz(6.2991, 10.5159, 5.3115) |
| Luminance | 0.1052 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.17
Spruce
#0A5F38
ΔE00 4.22
Hunter Green
#355E3B
ΔE00 5.42
Forest Green
#2D5A27
ΔE00 5.57
Deep Green
#02590F
ΔE00 7.46
Darkish Green
#287C37
ΔE00 7.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226837 #682253
analogous
#306822 #226837 #22685A
triadic
#226837 #372268 #683722
tetradic
#226837 #223068 #682253 #685A22
square
#226837 #223068 #682253 #685A22
split-complementary
#226837 #5A2268 #682230
monochromatic
#08170C #133A1F #226837 #31964F #43C269
Accessibility & contrast
On white
6.77
#226837 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#226837 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226837
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226837 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226837 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F33
Deuteranopia (green-blind)
#60593A
Tritanopia (blue-blind)
#09665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226837; /* rgb */ color: rgb(34, 104, 55); /* oklch */ color: oklch(46.1% 0.105 150.0);
Tailwind
colors: {
custom: {
50: '#66946e',
500: '#226837',
950: '#000000',
},
}SCSS
$custom: #226837; $custom-light: #66946e; $custom-dark: #000000;
JSON
{
"hex": "#226837",
"rgb": {
"r": 34,
"g": 104,
"b": 55
},
"hsl": {
"h": 138,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.46057,
"c": 0.1049,
"h": 150
},
"luminance": 0.10517
}Semantic roles & 50–950 ramp
primary
#226837
secondary
#9C4A83
accent
#4EB0DA
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A