#226F1F#226F1F
#226F1F is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.7% C 0.137 H 142.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #226F1F |
|---|---|
| RGB | rgb(34, 111, 31) |
| HSL | hsl(118, 56%, 28%) |
| HSV | hsv(118, 72%, 44%) |
| CMYK | cmyk(69.4%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(40.91, -39.87, 36.22) |
| CIE-LCH | lch(40.91, 53.87, 137.75°) |
| OKLab | oklab(47.74% -0.1084 0.083) |
| OKLCH | oklch(47.74% 0.137 142.6) |
| XYZ | xyz(6.5911, 11.8072, 3.2277) |
| Luminance | 0.1181 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.51
Darkish Green
#287C37
ΔE00 5.26
Tree Green
#2A7E19
ΔE00 5.66
Green
#008000
ΔE00 6.86
Deep Green
#02590F
ΔE00 7.34
Dark Grass Green
#388004
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F1F #6C1F6F
analogous
#4A6F1F #226F1F #1F6F44
triadic
#226F1F #1F226F #6F1F22
tetradic
#226F1F #1F4A6F #6C1F6F #6F441F
square
#226F1F #1F4A6F #6C1F6F #6F441F
split-complementary
#226F1F #441F6F #6F1F4A
monochromatic
#071807 #133F12 #226F1F #319F2C #44C93F
Accessibility & contrast
On white
6.25
#226F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#226F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F1F
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F1F | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726413
Deuteranopia (green-blind)
#685E27
Tritanopia (blue-blind)
#116C5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226f1f; /* rgb */ color: rgb(34, 111, 31); /* oklch */ color: oklch(47.7% 0.137 142.6);
Tailwind
colors: {
custom: {
50: '#69995f',
500: '#226f1f',
950: '#000000',
},
}SCSS
$custom: #226f1f; $custom-light: #69995f; $custom-dark: #000000;
JSON
{
"hex": "#226f1f",
"rgb": {
"r": 34,
"g": 111,
"b": 31
},
"hsl": {
"h": 117.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.47741,
"c": 0.13657,
"h": 142.6
},
"luminance": 0.11808
}Semantic roles & 50–950 ramp
primary
#226F1F
secondary
#A047A3
accent
#48E0DA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79