#226733#226733
#226733 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.108 H 148.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #226733 |
|---|---|
| RGB | rgb(34, 103, 51) |
| HSL | hsl(135, 50%, 27%) |
| HSV | hsv(135, 67%, 40%) |
| CMYK | cmyk(67%, 0%, 50.5%, 59.6%) |
| CIE-LAB | lab(38.34, -33.96, 23.07) |
| CIE-LCH | lch(38.34, 41.05, 145.81°) |
| OKLab | oklab(45.69% -0.0917 0.0562) |
| OKLCH | oklch(45.69% 0.108 148.5) |
| XYZ | xyz(6.1070, 10.2790, 4.7935) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.15
Spruce
#0A5F38
ΔE00 4.58
Forest Green
#2D5A27
ΔE00 5.02
Hunter Green
#355E3B
ΔE00 5.61
Deep Green
#02590F
ΔE00 6.66
Darkgreen
#006400
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226733 #672256
analogous
#346722 #226733 #226756
triadic
#226733 #332267 #673322
tetradic
#226733 #223467 #672256 #675622
square
#226733 #223467 #672256 #675622
split-complementary
#226733 #562267 #672234
monochromatic
#08170B #13391C #226733 #31954A #43C162
Accessibility & contrast
On white
6.87
#226733 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#226733 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226733
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226733 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226733 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685E2F
Deuteranopia (green-blind)
#5F5837
Tritanopia (blue-blind)
#0C655B
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #226733; /* rgb */ color: rgb(34, 103, 51); /* oklch */ color: oklch(45.7% 0.108 148.5);
Tailwind
colors: {
custom: {
50: '#66936b',
500: '#226733',
950: '#000000',
},
}SCSS
$custom: #226733; $custom-light: #66936b; $custom-dark: #000000;
JSON
{
"hex": "#226733",
"rgb": {
"r": 34,
"g": 103,
"b": 51
},
"hsl": {
"h": 134.783,
"s": 50.365,
"l": 26.863
},
"oklch": {
"l": 0.45694,
"c": 0.10753,
"h": 148.5
},
"luminance": 0.1028
}Semantic roles & 50–950 ramp
primary
#226733
secondary
#9B4A87
accent
#4EB7DA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A