#226331#226331
#226331 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.104 H 148.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).
Color values
| HEX | #226331 |
|---|---|
| RGB | rgb(34, 99, 49) |
| HSL | hsl(134, 49%, 26%) |
| HSV | hsv(134, 66%, 39%) |
| CMYK | cmyk(65.7%, 0%, 50.5%, 61.2%) |
| CIE-LAB | lab(36.90, -32.59, 22.39) |
| CIE-LCH | lch(36.90, 39.54, 145.52°) |
| OKLab | oklab(44.5% -0.088 0.0546) |
| OKLCH | oklch(44.5% 0.104 148.2) |
| XYZ | xyz(5.6755, 9.4850, 4.4368) |
| Luminance | 0.0949 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.01
Spruce
#0A5F38
ΔE00 3.89
Forest Green
#2D5A27
ΔE00 3.94
Hunter Green
#355E3B
ΔE00 4.81
Deep Green
#02590F
ΔE00 6.05
Forest
#0B5509
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226331 #632254
analogous
#336322 #226331 #226351
triadic
#226331 #312263 #633122
tetradic
#226331 #223363 #632254 #635122
square
#226331 #223363 #632254 #635122
split-complementary
#226331 #512263 #632233
monochromatic
#08170B #12351A #226331 #329148 #41BE5E
Accessibility & contrast
On white
7.25
#226331 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.90
#226331 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226331
7.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226331 | 1.00 | 7.25 | 2.90 | 7.25 |
| #FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645A2D
Deuteranopia (green-blind)
#5C5534
Tritanopia (blue-blind)
#106157
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #226331; /* rgb */ color: rgb(34, 99, 49); /* oklch */ color: oklch(44.5% 0.104 148.2);
Tailwind
colors: {
custom: {
50: '#65906a',
500: '#226331',
950: '#000000',
},
}SCSS
$custom: #226331; $custom-light: #65906a; $custom-dark: #000000;
JSON
{
"hex": "#226331",
"rgb": {
"r": 34,
"g": 99,
"b": 49
},
"hsl": {
"h": 133.846,
"s": 48.872,
"l": 26.078
},
"oklch": {
"l": 0.44501,
"c": 0.10359,
"h": 148.2
},
"luminance": 0.09486
}Semantic roles & 50–950 ramp
primary
#226331
secondary
#974A85
accent
#4FB9D8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A