#226232#226232
#226232 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.101 H 148.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #226232 |
|---|---|
| RGB | rgb(34, 98, 50) |
| HSL | hsl(135, 48%, 26%) |
| HSV | hsv(135, 65%, 38%) |
| CMYK | cmyk(65.3%, 0%, 49%, 61.6%) |
| CIE-LAB | lab(36.57, -31.98, 21.39) |
| CIE-LCH | lch(36.57, 38.48, 146.23°) |
| OKLab | oklab(44.23% -0.0864 0.0524) |
| OKLCH | oklch(44.23% 0.101 148.8) |
| XYZ | xyz(5.6027, 9.3052, 4.5178) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.56
Spruce
#0A5F38
ΔE00 3.45
Forest Green
#2D5A27
ΔE00 3.86
Hunter Green
#355E3B
ΔE00 4.41
Deep Green
#02590F
ΔE00 6.25
Forest
#0B5509
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226232 #622252
analogous
#326222 #226232 #226252
triadic
#226232 #322262 #623222
tetradic
#226232 #223262 #622252 #625222
square
#226232 #223262 #622252 #625222
split-complementary
#226232 #522262 #622232
monochromatic
#08170C #12351B #226232 #328F49 #42BD60
Accessibility & contrast
On white
7.34
#226232 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#226232 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226232
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226232 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226232 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63592E
Deuteranopia (green-blind)
#5B5435
Tritanopia (blue-blind)
#106057
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #226232; /* rgb */ color: rgb(34, 98, 50); /* oklch */ color: oklch(44.2% 0.101 148.8);
Tailwind
colors: {
custom: {
50: '#658f6b',
500: '#226232',
950: '#000000',
},
}SCSS
$custom: #226232; $custom-light: #658f6b; $custom-dark: #000000;
JSON
{
"hex": "#226232",
"rgb": {
"r": 34,
"g": 98,
"b": 50
},
"hsl": {
"h": 135,
"s": 48.485,
"l": 25.882
},
"oklch": {
"l": 0.44229,
"c": 0.10103,
"h": 148.8
},
"luminance": 0.09306
}Semantic roles & 50–950 ramp
primary
#226232
secondary
#964A83
accent
#50B6D8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A