#226239#226239
#226239 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.4% C 0.094 H 152.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #226239 |
|---|---|
| RGB | rgb(34, 98, 57) |
| HSL | hsl(142, 48%, 26%) |
| HSV | hsv(142, 65%, 38%) |
| CMYK | cmyk(65.3%, 0%, 41.8%, 61.6%) |
| CIE-LAB | lab(36.69, -30.65, 17.47) |
| CIE-LCH | lch(36.69, 35.28, 150.31°) |
| OKLab | oklab(44.37% -0.0829 0.0435) |
| OKLCH | oklch(44.37% 0.094 152.3) |
| XYZ | xyz(5.7654, 9.3703, 5.3749) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 2.25
Pine
#2B5D34
ΔE00 2.37
Hunter Green
#355E3B
ΔE00 3.63
Forest Green
#2D5A27
ΔE00 5.04
Deep Green
#02590F
ΔE00 7.90
Pine Green
#0A481E
ΔE00 8.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226239 #62224B
analogous
#2B6222 #226239 #226259
triadic
#226239 #392262 #623922
tetradic
#226239 #222B62 #62224B #625922
square
#226239 #222B62 #62224B #625922
split-complementary
#226239 #592262 #62222B
monochromatic
#08170D #12351F #226239 #328F53 #42BD6E
Accessibility & contrast
On white
7.31
#226239 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#226239 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226239
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226239 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#625A36
Deuteranopia (green-blind)
#5A543C
Tritanopia (blue-blind)
#0B6158
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #226239; /* rgb */ color: rgb(34, 98, 57); /* oklch */ color: oklch(44.4% 0.094 152.3);
Tailwind
colors: {
custom: {
50: '#658f70',
500: '#226239',
950: '#000000',
},
}SCSS
$custom: #226239; $custom-light: #658f70; $custom-dark: #000000;
JSON
{
"hex": "#226239",
"rgb": {
"r": 34,
"g": 98,
"b": 57
},
"hsl": {
"h": 141.563,
"s": 48.485,
"l": 25.882
},
"oklch": {
"l": 0.44369,
"c": 0.09363,
"h": 152.3
},
"luminance": 0.09371
}Semantic roles & 50–950 ramp
primary
#226239
secondary
#964A7B
accent
#50A7D8
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A