#226E2F#226E2F
#226E2F is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.122 H 146.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #226E2F |
|---|---|
| RGB | rgb(34, 110, 47) |
| HSL | hsl(130, 53%, 28%) |
| HSV | hsv(130, 69%, 43%) |
| CMYK | cmyk(69.1%, 0%, 57.3%, 56.9%) |
| CIE-LAB | lab(40.73, -37.48, 28.20) |
| CIE-LCH | lch(40.73, 46.91, 143.05°) |
| OKLab | oklab(47.65% -0.1012 0.0675) |
| OKLCH | oklch(47.65% 0.122 146.3) |
| XYZ | xyz(6.7482, 11.6965, 4.5908) |
| Luminance | 0.1170 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.84
Darkgreen
#006400
ΔE00 6.34
Pine
#2B5D34
ΔE00 7.04
Forest Green
#2D5A27
ΔE00 7.08
Jungle Green
#048243
ΔE00 7.25
Spruce
#0A5F38
ΔE00 7.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226E2F #6E2261
analogous
#3B6E22 #226E2F #226E55
triadic
#226E2F #2F226E #6E2F22
tetradic
#226E2F #223B6E #6E2261 #6E5522
square
#226E2F #223B6E #6E2261 #6E5522
split-complementary
#226E2F #55226E #6E223B
monochromatic
#07170A #143F1B #226E2F #309D43 #45C55B
Accessibility & contrast
On white
6.29
#226E2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#226E2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226E2F
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226E2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226E2F | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706429
Deuteranopia (green-blind)
#665D34
Tritanopia (blue-blind)
#0A6B60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226e2f; /* rgb */ color: rgb(34, 110, 47); /* oklch */ color: oklch(47.6% 0.122 146.3);
Tailwind
colors: {
custom: {
50: '#689869',
500: '#226e2f',
950: '#000000',
},
}SCSS
$custom: #226e2f; $custom-light: #689869; $custom-dark: #000000;
JSON
{
"hex": "#226e2f",
"rgb": {
"r": 34,
"g": 110,
"b": 47
},
"hsl": {
"h": 130.263,
"s": 52.778,
"l": 28.235
},
"oklch": {
"l": 0.47648,
"c": 0.12164,
"h": 146.3
},
"luminance": 0.11697
}Semantic roles & 50–950 ramp
primary
#226E2F
secondary
#A14A93
accent
#4CC3DC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A