#226E2B#226E2B
#226E2B is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.6% C 0.125 H 145.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #226E2B |
|---|---|
| RGB | rgb(34, 110, 43) |
| HSL | hsl(127, 53%, 28%) |
| HSV | hsv(127, 69%, 43%) |
| CMYK | cmyk(69.1%, 0%, 60.9%, 56.9%) |
| CIE-LAB | lab(40.68, -38.06, 30.23) |
| CIE-LCH | lch(40.68, 48.60, 141.54°) |
| OKLab | oklab(47.59% -0.1029 0.0716) |
| OKLCH | oklch(47.59% 0.125 145.2) |
| XYZ | xyz(6.6712, 11.6657, 4.1852) |
| Luminance | 0.1167 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.85
Darkgreen
#006400
ΔE00 5.69
Tree Green
#2A7E19
ΔE00 7.14
Forest Green
#2D5A27
ΔE00 7.19
Deep Green
#02590F
ΔE00 7.21
Pine
#2B5D34
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#226E2B #6E2265
analogous
#3F6E22 #226E2B #226E51
triadic
#226E2B #2B226E #6E2B22
tetradic
#226E2B #223F6E #6E2265 #6E5122
square
#226E2B #223F6E #6E2265 #6E5122
split-complementary
#226E2B #51226E #6E223F
monochromatic
#071709 #143F19 #226E2B #309D3D #45C554
Accessibility & contrast
On white
6.30
#226E2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.33
#226E2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #226E2B
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##226E2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##226E2B | 1.00 | 6.30 | 3.33 | 6.30 |
| #FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706424
Deuteranopia (green-blind)
#675D30
Tritanopia (blue-blind)
#0C6B5F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #226e2b; /* rgb */ color: rgb(34, 110, 43); /* oklch */ color: oklch(47.6% 0.125 145.2);
Tailwind
colors: {
custom: {
50: '#689867',
500: '#226e2b',
950: '#000000',
},
}SCSS
$custom: #226e2b; $custom-light: #689867; $custom-dark: #000000;
JSON
{
"hex": "#226e2b",
"rgb": {
"r": 34,
"g": 110,
"b": 43
},
"hsl": {
"h": 127.105,
"s": 52.778,
"l": 28.235
},
"oklch": {
"l": 0.47591,
"c": 0.12536,
"h": 145.2
},
"luminance": 0.11666
}Semantic roles & 50–950 ramp
primary
#226E2B
secondary
#A14A97
accent
#4CCBDC
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A