#226240#226240
#226240 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.086 H 156.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #226240 |
|---|---|
| RGB | rgb(34, 98, 64) |
| HSL | hsl(148, 48%, 26%) |
| HSV | hsv(148, 65%, 38%) |
| CMYK | cmyk(65.3%, 0%, 34.7%, 61.6%) |
| CIE-LAB | lab(36.83, -29.15, 13.49) |
| CIE-LCH | lch(36.83, 32.12, 155.17°) |
| OKLab | oklab(44.53% -0.0793 0.0341) |
| OKLCH | oklch(44.53% 0.086 156.8) |
| XYZ | xyz(5.9523, 9.4450, 6.3589) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.48
Pine
#2B5D34
ΔE00 3.58
Hunter Green
#355E3B
ΔE00 3.77
Forest Green
#2D5A27
ΔE00 6.70
Dark Green Blue
#1F6357
ΔE00 8.24
Evergreen
#05472A
ΔE00 8.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226240 #622244
analogous
#246222 #226240 #226260
triadic
#226240 #402262 #624022
tetradic
#226240 #222462 #622244 #626022
square
#226240 #222462 #622244 #626022
split-complementary
#226240 #602262 #622224
monochromatic
#08170F #123522 #226240 #328F5E #42BD7B
Accessibility & contrast
On white
7.27
#226240 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#226240 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226240
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226240 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226240 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#615A3E
Deuteranopia (green-blind)
#595442
Tritanopia (blue-blind)
#056159
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #226240; /* rgb */ color: rgb(34, 98, 64); /* oklch */ color: oklch(44.5% 0.086 156.8);
Tailwind
colors: {
custom: {
50: '#658f75',
500: '#226240',
950: '#000000',
},
}SCSS
$custom: #226240; $custom-light: #658f75; $custom-dark: #000000;
JSON
{
"hex": "#226240",
"rgb": {
"r": 34,
"g": 98,
"b": 64
},
"hsl": {
"h": 148.125,
"s": 48.485,
"l": 25.882
},
"oklch": {
"l": 0.4453,
"c": 0.0863,
"h": 156.8
},
"luminance": 0.09446
}Semantic roles & 50–950 ramp
primary
#226240
secondary
#964A72
accent
#5098D8
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B