#226E1F#226E1F
#226E1F is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.135 H 142.6°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).
Color values
| HEX | #226E1F |
|---|---|
| RGB | rgb(34, 110, 31) |
| HSL | hsl(118, 56%, 28%) |
| HSV | hsv(118, 72%, 43%) |
| CMYK | cmyk(69.1%, 0%, 71.8%, 56.9%) |
| CIE-LAB | lab(40.56, -39.49, 35.85) |
| CIE-LCH | lch(40.56, 53.34, 137.77°) |
| OKLab | oklab(47.45% -0.1074 0.0822) |
| OKLCH | oklch(47.45% 0.135 142.6) |
| XYZ | xyz(6.4826, 11.5902, 3.1916) |
| Luminance | 0.1159 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.30
Darkish Green
#287C37
ΔE00 5.49
Tree Green
#2A7E19
ΔE00 6.00
Deep Green
#02590F
ΔE00 7.01
Green
#008000
ΔE00 7.19
Forest Green
#2D5A27
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226E1F #6B1F6E
analogous
#496E1F #226E1F #1F6E44
triadic
#226E1F #1F226E #6E1F22
tetradic
#226E1F #1F496E #6B1F6E #6E441F
square
#226E1F #1F496E #6B1F6E #6E441F
split-complementary
#226E1F #441F6E #6E1F49
monochromatic
#071807 #133E12 #226E1F #319E2C #44C93F
Accessibility & contrast
On white
6.33
#226E1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.32
#226E1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226E1F
6.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226E1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226E1F | 1.00 | 6.33 | 3.32 | 6.33 |
| #FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716314
Deuteranopia (green-blind)
#675D26
Tritanopia (blue-blind)
#116B5E
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226e1f; /* rgb */ color: rgb(34, 110, 31); /* oklch */ color: oklch(47.4% 0.135 142.6);
Tailwind
colors: {
custom: {
50: '#69985f',
500: '#226e1f',
950: '#000000',
},
}SCSS
$custom: #226e1f; $custom-light: #69985f; $custom-dark: #000000;
JSON
{
"hex": "#226e1f",
"rgb": {
"r": 34,
"g": 110,
"b": 31
},
"hsl": {
"h": 117.722,
"s": 56.028,
"l": 27.647
},
"oklch": {
"l": 0.4745,
"c": 0.13528,
"h": 142.6
},
"luminance": 0.11591
}Semantic roles & 50–950 ramp
primary
#226E1F
secondary
#9F47A2
accent
#48DFDA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79