#226F2B#226F2B
#226F2B is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.127 H 145.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #226F2B |
|---|---|
| RGB | rgb(34, 111, 43) |
| HSL | hsl(127, 53%, 28%) |
| HSV | hsv(127, 69%, 44%) |
| CMYK | cmyk(69.4%, 0%, 61.3%, 56.5%) |
| CIE-LAB | lab(41.03, -38.45, 30.64) |
| CIE-LCH | lch(41.03, 49.17, 141.46°) |
| OKLab | oklab(47.88% -0.104 0.0725) |
| OKLCH | oklch(47.88% 0.127 145.1) |
| XYZ | xyz(6.7797, 11.8827, 4.2213) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.53
Darkgreen
#006400
ΔE00 5.79
Tree Green
#2A7E19
ΔE00 6.81
Jungle Green
#048243
ΔE00 7.24
Deep Green
#02590F
ΔE00 7.49
Forest Green
#2D5A27
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F2B #6F2266
analogous
#3F6F22 #226F2B #226F51
triadic
#226F2B #2B226F #6F2B22
tetradic
#226F2B #223F6F #6F2266 #6F5122
square
#226F2B #223F6F #6F2266 #6F5122
split-complementary
#226F2B #51226F #6F223F
monochromatic
#071709 #144019 #226F2B #309E3D #45C654
Accessibility & contrast
On white
6.22
#226F2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#226F2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F2B
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F2B | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716524
Deuteranopia (green-blind)
#685E30
Tritanopia (blue-blind)
#0C6C60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #226f2b; /* rgb */ color: rgb(34, 111, 43); /* oklch */ color: oklch(47.9% 0.127 145.1);
Tailwind
colors: {
custom: {
50: '#689967',
500: '#226f2b',
950: '#000000',
},
}SCSS
$custom: #226f2b; $custom-light: #689967; $custom-dark: #000000;
JSON
{
"hex": "#226f2b",
"rgb": {
"r": 34,
"g": 111,
"b": 43
},
"hsl": {
"h": 127.013,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.4788,
"c": 0.12674,
"h": 145.1
},
"luminance": 0.11883
}Semantic roles & 50–950 ramp
primary
#226F2B
secondary
#A24A98
accent
#4BCCDD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A