#226B17#226B17
#226B17 is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.5% C 0.137 H 141.3°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #226B17 |
|---|---|
| RGB | rgb(34, 107, 23) |
| HSL | hsl(112, 65%, 25%) |
| HSV | hsv(112, 79%, 42%) |
| CMYK | cmyk(68.2%, 0%, 78.5%, 58%) |
| CIE-LAB | lab(39.44, -39.09, 38.01) |
| CIE-LCH | lch(39.44, 54.52, 135.80°) |
| OKLab | oklab(46.51% -0.1068 0.0856) |
| OKLCH | oklch(46.51% 0.137 141.3) |
| XYZ | xyz(6.0717, 10.9167, 2.5976) |
| Luminance | 0.1092 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.20
Deep Green
#02590F
ΔE00 6.22
Tree Green
#2A7E19
ΔE00 6.65
Darkish Green
#287C37
ΔE00 6.81
Forest
#0B5509
ΔE00 7.20
Forest Green
#2D5A27
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226B17 #60176B
analogous
#4C6B17 #226B17 #176B36
triadic
#226B17 #17226B #6B1722
tetradic
#226B17 #174C6B #60176B #6B3617
square
#226B17 #174C6B #60176B #6B3617
split-complementary
#226B17 #36176B #6B174C
monochromatic
#081905 #12390C #226B17 #329D22 #42D02D
Accessibility & contrast
On white
6.60
#226B17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.18
#226B17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226B17
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226B17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226B17 | 1.00 | 6.60 | 3.18 | 6.60 |
| #FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#15675B
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #226b17; /* rgb */ color: rgb(34, 107, 23); /* oklch */ color: oklch(46.5% 0.137 141.3);
Tailwind
colors: {
custom: {
50: '#68965a',
500: '#226b17',
950: '#000000',
},
}SCSS
$custom: #226b17; $custom-light: #68965a; $custom-dark: #000000;
JSON
{
"hex": "#226b17",
"rgb": {
"r": 34,
"g": 107,
"b": 23
},
"hsl": {
"h": 112.143,
"s": 64.615,
"l": 25.49
},
"oklch": {
"l": 0.46505,
"c": 0.13688,
"h": 141.3
},
"luminance": 0.10917
}Semantic roles & 50–950 ramp
primary
#226B17
secondary
#943DA1
accent
#40E8D2
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070D04
muted
#7A7E79