#226338#226338
#226338 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.6% C 0.096 H 151.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #226338 |
|---|---|
| RGB | rgb(34, 99, 56) |
| HSL | hsl(140, 49%, 26%) |
| HSV | hsv(140, 66%, 39%) |
| CMYK | cmyk(65.7%, 0%, 43.4%, 61.2%) |
| CIE-LAB | lab(37.02, -31.29, 18.50) |
| CIE-LCH | lch(37.02, 36.35, 149.41°) |
| OKLab | oklab(44.64% -0.0846 0.0459) |
| OKLCH | oklch(44.64% 0.096 151.5) |
| XYZ | xyz(5.8349, 9.5487, 5.2762) |
| Luminance | 0.0955 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.55
Spruce
#0A5F38
ΔE00 2.58
Hunter Green
#355E3B
ΔE00 3.93
Forest Green
#2D5A27
ΔE00 4.91
Deep Green
#02590F
ΔE00 7.59
Forest
#0B5509
ΔE00 8.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226338 #63224D
analogous
#2C6322 #226338 #226358
triadic
#226338 #382263 #633822
tetradic
#226338 #222C63 #63224D #635822
square
#226338 #222C63 #63224D #635822
split-complementary
#226338 #582263 #63222C
monochromatic
#08170D #12351E #226338 #329152 #41BE6C
Accessibility & contrast
On white
7.22
#226338 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.91
#226338 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226338
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226338 | 1.00 | 7.22 | 2.91 | 7.22 |
| #FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635B35
Deuteranopia (green-blind)
#5B553B
Tritanopia (blue-blind)
#0B6158
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #226338; /* rgb */ color: rgb(34, 99, 56); /* oklch */ color: oklch(44.6% 0.096 151.5);
Tailwind
colors: {
custom: {
50: '#65906f',
500: '#226338',
950: '#000000',
},
}SCSS
$custom: #226338; $custom-light: #65906f; $custom-dark: #000000;
JSON
{
"hex": "#226338",
"rgb": {
"r": 34,
"g": 99,
"b": 56
},
"hsl": {
"h": 140.308,
"s": 48.872,
"l": 26.078
},
"oklch": {
"l": 0.44636,
"c": 0.09624,
"h": 151.5
},
"luminance": 0.09549
}Semantic roles & 50–950 ramp
primary
#226338
secondary
#974A7D
accent
#4FAAD8
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#060C07
muted
#7A7D7A