#226236#226236
#226236 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.097 H 150.7°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #226236 |
|---|---|
| RGB | rgb(34, 98, 54) |
| HSL | hsl(139, 48%, 26%) |
| HSV | hsv(139, 65%, 38%) |
| CMYK | cmyk(65.3%, 0%, 44.9%, 61.6%) |
| CIE-LAB | lab(36.63, -31.24, 19.16) |
| CIE-LCH | lch(36.63, 36.65, 148.47°) |
| OKLab | oklab(44.31% -0.0844 0.0474) |
| OKLCH | oklch(44.31% 0.097 150.7) |
| XYZ | xyz(5.6928, 9.3412, 4.9923) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.27
Spruce
#0A5F38
ΔE00 2.68
Hunter Green
#355E3B
ΔE00 3.89
Forest Green
#2D5A27
ΔE00 4.47
Deep Green
#02590F
ΔE00 7.16
Forest
#0B5509
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226236 #62224E
analogous
#2E6222 #226236 #226256
triadic
#226236 #362262 #623622
tetradic
#226236 #222E62 #62224E #625622
square
#226236 #222E62 #62224E #625622
split-complementary
#226236 #562262 #62222E
monochromatic
#08170D #12351D #226236 #328F4F #42BD68
Accessibility & contrast
On white
7.32
#226236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#226236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226236
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226236 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625A33
Deuteranopia (green-blind)
#5A5439
Tritanopia (blue-blind)
#0D6057
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #226236; /* rgb */ color: rgb(34, 98, 54); /* oklch */ color: oklch(44.3% 0.097 150.7);
Tailwind
colors: {
custom: {
50: '#658f6d',
500: '#226236',
950: '#000000',
},
}SCSS
$custom: #226236; $custom-light: #658f6d; $custom-dark: #000000;
JSON
{
"hex": "#226236",
"rgb": {
"r": 34,
"g": 98,
"b": 54
},
"hsl": {
"h": 138.75,
"s": 48.485,
"l": 25.882
},
"oklch": {
"l": 0.44307,
"c": 0.09682,
"h": 150.7
},
"luminance": 0.09342
}Semantic roles & 50–950 ramp
primary
#226236
secondary
#964A7E
accent
#50ADD8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A