#226F2F#226F2F
#226F2F is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.123 H 146.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #226F2F |
|---|---|
| RGB | rgb(34, 111, 47) |
| HSL | hsl(130, 53%, 28%) |
| HSV | hsv(130, 69%, 44%) |
| CMYK | cmyk(69.4%, 0%, 57.7%, 56.5%) |
| CIE-LAB | lab(41.08, -37.88, 28.62) |
| CIE-LCH | lch(41.08, 47.48, 142.93°) |
| OKLab | oklab(47.94% -0.1023 0.0684) |
| OKLCH | oklch(47.94% 0.123 146.2) |
| XYZ | xyz(6.8567, 11.9135, 4.6270) |
| Luminance | 0.1191 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.50
Darkgreen
#006400
ΔE00 6.40
Jungle Green
#048243
ΔE00 6.96
Tree Green
#2A7E19
ΔE00 7.36
Pine
#2B5D34
ΔE00 7.39
Forest Green
#2D5A27
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226F2F #6F2262
analogous
#3B6F22 #226F2F #226F55
triadic
#226F2F #2F226F #6F2F22
tetradic
#226F2F #223B6F #6F2262 #6F5522
square
#226F2F #223B6F #6F2262 #6F5522
split-complementary
#226F2F #55226F #6F223B
monochromatic
#07170A #14401B #226F2F #309E43 #45C65B
Accessibility & contrast
On white
6.21
#226F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#226F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226F2F
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226F2F | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#675E34
Tritanopia (blue-blind)
#096C61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #226f2f; /* rgb */ color: rgb(34, 111, 47); /* oklch */ color: oklch(47.9% 0.123 146.2);
Tailwind
colors: {
custom: {
50: '#689969',
500: '#226f2f',
950: '#000000',
},
}SCSS
$custom: #226f2f; $custom-light: #689969; $custom-dark: #000000;
JSON
{
"hex": "#226f2f",
"rgb": {
"r": 34,
"g": 111,
"b": 47
},
"hsl": {
"h": 130.13,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.47936,
"c": 0.12304,
"h": 146.2
},
"luminance": 0.11914
}Semantic roles & 50–950 ramp
primary
#226F2F
secondary
#A24A94
accent
#4BC4DD
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A