#226833#226833
#226833 is a mid, moderate green. Relative luminance 0.105; OKLCH L 46.0% C 0.109 H 148.3°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #226833 |
|---|---|
| RGB | rgb(34, 104, 51) |
| HSL | hsl(135, 51%, 27%) |
| HSV | hsv(135, 67%, 41%) |
| CMYK | cmyk(67.3%, 0%, 51%, 59.2%) |
| CIE-LAB | lab(38.69, -34.38, 23.51) |
| CIE-LCH | lch(38.69, 41.65, 145.64°) |
| OKLab | oklab(45.98% -0.0928 0.0572) |
| OKLCH | oklch(45.98% 0.109 148.3) |
| XYZ | xyz(6.2071, 10.4791, 4.8269) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.50
Spruce
#0A5F38
ΔE00 4.89
Forest Green
#2D5A27
ΔE00 5.28
Hunter Green
#355E3B
ΔE00 5.91
Deep Green
#02590F
ΔE00 6.77
Darkish Green
#287C37
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226833 #682257
analogous
#346822 #226833 #226856
triadic
#226833 #332268 #683322
tetradic
#226833 #223468 #682257 #685622
square
#226833 #223468 #682257 #685622
split-complementary
#226833 #562268 #682234
monochromatic
#08170B #133A1C #226833 #31964A #43C262
Accessibility & contrast
On white
6.78
#226833 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#226833 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226833
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226833 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226833 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695F2F
Deuteranopia (green-blind)
#605937
Tritanopia (blue-blind)
#0C665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #226833; /* rgb */ color: rgb(34, 104, 51); /* oklch */ color: oklch(46.0% 0.109 148.3);
Tailwind
colors: {
custom: {
50: '#66946c',
500: '#226833',
950: '#000000',
},
}SCSS
$custom: #226833; $custom-light: #66946c; $custom-dark: #000000;
JSON
{
"hex": "#226833",
"rgb": {
"r": 34,
"g": 104,
"b": 51
},
"hsl": {
"h": 134.571,
"s": 50.725,
"l": 27.059
},
"oklch": {
"l": 0.45983,
"c": 0.10902,
"h": 148.3
},
"luminance": 0.1048
}Semantic roles & 50–950 ramp
primary
#226833
secondary
#9C4A88
accent
#4EB8DA
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D07
muted
#7A7E7A