#226F22#226F22
#226F22 is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.134 H 143.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).
Color values
| HEX | #226F22 |
|---|---|
| RGB | rgb(34, 111, 34) |
| HSL | hsl(120, 53%, 28%) |
| HSV | hsv(120, 69%, 44%) |
| CMYK | cmyk(69.4%, 0%, 69.4%, 56.5%) |
| CIE-LAB | lab(40.93, -39.56, 34.90) |
| CIE-LCH | lch(40.93, 52.75, 138.58°) |
| OKLab | oklab(47.77% -0.1074 0.0806) |
| OKLCH | oklch(47.77% 0.134 143.1) |
| XYZ | xyz(6.6325, 11.8238, 3.4457) |
| Luminance | 0.1182 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.75
Darkish Green
#287C37
ΔE00 5.02
Tree Green
#2A7E19
ΔE00 5.87
Green
#008000
ΔE00 7.12
Deep Green
#02590F
ΔE00 7.32
Forest Green
#2D5A27
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F22 #6F226F
analogous
#486F22 #226F22 #226F48
triadic
#226F22 #22226F #6F2222
tetradic
#226F22 #22486F #6F226F #6F4822
square
#226F22 #22486F #6F226F #6F4822
split-complementary
#226F22 #48226F #6F2248
monochromatic
#071707 #144014 #226F22 #309E30 #45C645
Accessibility & contrast
On white
6.24
#226F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#226F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F22
6.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F22 | 1.00 | 6.24 | 3.36 | 6.24 |
| #FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716418
Deuteranopia (green-blind)
#685E29
Tritanopia (blue-blind)
#106C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226f22; /* rgb */ color: rgb(34, 111, 34); /* oklch */ color: oklch(47.8% 0.134 143.1);
Tailwind
colors: {
custom: {
50: '#699961',
500: '#226f22',
950: '#000000',
},
}SCSS
$custom: #226f22; $custom-light: #699961; $custom-dark: #000000;
JSON
{
"hex": "#226f22",
"rgb": {
"r": 34,
"g": 111,
"b": 34
},
"hsl": {
"h": 120,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.47771,
"c": 0.13431,
"h": 143.1
},
"luminance": 0.11824
}Semantic roles & 50–950 ramp
primary
#226F22
secondary
#A24AA2
accent
#4BDDDD
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79