#226233#226233
#226233 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.100 H 149.2°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #226233 |
|---|---|
| RGB | rgb(34, 98, 51) |
| HSL | hsl(136, 48%, 26%) |
| HSV | hsv(136, 65%, 38%) |
| CMYK | cmyk(65.3%, 0%, 48%, 61.6%) |
| CIE-LAB | lab(36.58, -31.80, 20.84) |
| CIE-LCH | lch(36.58, 38.02, 146.77°) |
| OKLab | oklab(44.25% -0.0859 0.0511) |
| OKLCH | oklch(44.25% 0.1 149.2) |
| XYZ | xyz(5.6245, 9.3139, 4.6327) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.45
Spruce
#0A5F38
ΔE00 3.24
Forest Green
#2D5A27
ΔE00 3.99
Hunter Green
#355E3B
ΔE00 4.26
Deep Green
#02590F
ΔE00 6.47
Forest
#0B5509
ΔE00 7.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226233 #622251
analogous
#316222 #226233 #226253
triadic
#226233 #332262 #623322
tetradic
#226233 #223162 #622251 #625322
square
#226233 #223162 #622251 #625322
split-complementary
#226233 #532262 #622231
monochromatic
#08170C #12351B #226233 #328F4B #42BD62
Accessibility & contrast
On white
7.34
#226233 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#226233 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #226233
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226233 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226233 | 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)
#635A2F
Deuteranopia (green-blind)
#5B5436
Tritanopia (blue-blind)
#0F6057
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #226233; /* rgb */ color: rgb(34, 98, 51); /* oklch */ color: oklch(44.2% 0.100 149.2);
Tailwind
colors: {
custom: {
50: '#658f6b',
500: '#226233',
950: '#000000',
},
}SCSS
$custom: #226233; $custom-light: #658f6b; $custom-dark: #000000;
JSON
{
"hex": "#226233",
"rgb": {
"r": 34,
"g": 98,
"b": 51
},
"hsl": {
"h": 135.938,
"s": 48.485,
"l": 25.882
},
"oklch": {
"l": 0.44248,
"c": 0.09998,
"h": 149.2
},
"luminance": 0.09314
}Semantic roles & 50–950 ramp
primary
#226233
secondary
#964A82
accent
#50B4D8
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A