#226B2B#226B2B
#226B2B is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.7% C 0.121 H 145.4°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #226B2B |
|---|---|
| RGB | rgb(34, 107, 43) |
| HSL | hsl(127, 52%, 28%) |
| HSV | hsv(127, 68%, 42%) |
| CMYK | cmyk(68.2%, 0%, 59.8%, 58%) |
| CIE-LAB | lab(39.63, -36.87, 28.99) |
| CIE-LCH | lch(39.63, 46.90, 141.82°) |
| OKLab | oklab(46.72% -0.0997 0.0689) |
| OKLCH | oklch(46.72% 0.121 145.4) |
| XYZ | xyz(6.3530, 11.0292, 4.0791) |
| Luminance | 0.1103 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.52
Darkish Green
#287C37
ΔE00 5.82
Forest Green
#2D5A27
ΔE00 6.18
Deep Green
#02590F
ΔE00 6.42
Pine
#2B5D34
ΔE00 6.50
Spruce
#0A5F38
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226B2B #6B2262
analogous
#3E6B22 #226B2B #226B4F
triadic
#226B2B #2B226B #6B2B22
tetradic
#226B2B #223E6B #6B2262 #6B4F22
square
#226B2B #223E6B #6B2262 #6B4F22
split-complementary
#226B2B #4F226B #6B223E
monochromatic
#071709 #133D18 #226B2B #31993E #44C454
Accessibility & contrast
On white
6.55
#226B2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#226B2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226B2B
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226B2B | 1.00 | 6.55 | 3.21 | 6.55 |
| #FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D6125
Deuteranopia (green-blind)
#645B30
Tritanopia (blue-blind)
#0E685D
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #226b2b; /* rgb */ color: rgb(34, 107, 43); /* oklch */ color: oklch(46.7% 0.121 145.4);
Tailwind
colors: {
custom: {
50: '#679666',
500: '#226b2b',
950: '#000000',
},
}SCSS
$custom: #226b2b; $custom-light: #679666; $custom-dark: #000000;
JSON
{
"hex": "#226b2b",
"rgb": {
"r": 34,
"g": 107,
"b": 43
},
"hsl": {
"h": 127.397,
"s": 51.773,
"l": 27.647
},
"oklch": {
"l": 0.46723,
"c": 0.12118,
"h": 145.4
},
"luminance": 0.1103
}Semantic roles & 50–950 ramp
primary
#226B2B
secondary
#9F4A94
accent
#4DCADB
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A