#226C2A#226C2A
#226C2A is a mid, vivid green. Relative luminance 0.112; OKLCH L 47.0% C 0.123 H 145.0°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).
Color values
| HEX | #226C2A |
|---|---|
| RGB | rgb(34, 108, 42) |
| HSL | hsl(126, 52%, 28%) |
| HSV | hsv(126, 69%, 42%) |
| CMYK | cmyk(68.5%, 0%, 61.1%, 57.6%) |
| CIE-LAB | lab(39.97, -37.41, 29.91) |
| CIE-LCH | lch(39.97, 47.89, 141.36°) |
| OKLab | oklab(47% -0.1012 0.0708) |
| OKLCH | oklch(47% 0.124 145) |
| XYZ | xyz(6.4398, 11.2317, 4.0186) |
| Luminance | 0.1123 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 5.39
Darkish Green
#287C37
ΔE00 5.50
Forest Green
#2D5A27
ΔE00 6.56
Deep Green
#02590F
ΔE00 6.62
Pine
#2B5D34
ΔE00 6.96
Spruce
#0A5F38
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226C2A #6C2264
analogous
#3F6C22 #226C2A #226C4F
triadic
#226C2A #2A226C #6C2A22
tetradic
#226C2A #223F6C #6C2264 #6C4F22
square
#226C2A #223F6C #6C2264 #6C4F22
split-complementary
#226C2A #4F226C #6C223F
monochromatic
#071709 #133D18 #226C2A #319B3C #44C452
Accessibility & contrast
On white
6.47
#226C2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.25
#226C2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226C2A
6.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226C2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226C2A | 1.00 | 6.47 | 3.25 | 6.47 |
| #FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6223
Deuteranopia (green-blind)
#655C2F
Tritanopia (blue-blind)
#0E695E
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #226c2a; /* rgb */ color: rgb(34, 108, 42); /* oklch */ color: oklch(47.0% 0.123 145.0);
Tailwind
colors: {
custom: {
50: '#679766',
500: '#226c2a',
950: '#000000',
},
}SCSS
$custom: #226c2a; $custom-light: #679766; $custom-dark: #000000;
JSON
{
"hex": "#226c2a",
"rgb": {
"r": 34,
"g": 108,
"b": 42
},
"hsl": {
"h": 126.486,
"s": 52.113,
"l": 27.843
},
"oklch": {
"l": 0.46999,
"c": 0.1235,
"h": 145
},
"luminance": 0.11232
}Semantic roles & 50–950 ramp
primary
#226C2A
secondary
#A04A96
accent
#4CCCDC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A