#227A1A#227A1A
#227A1A is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.153 H 141.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #227A1A |
|---|---|
| RGB | rgb(34, 122, 26) |
| HSL | hsl(115, 65%, 29%) |
| HSV | hsv(115, 79%, 48%) |
| CMYK | cmyk(72.1%, 0%, 78.7%, 52.2%) |
| CIE-LAB | lab(44.71, -44.34, 42.11) |
| CIE-LCH | lch(44.71, 61.15, 136.48°) |
| OKLab | oklab(50.88% -0.1208 0.0946) |
| OKLCH | oklch(50.88% 0.153 141.9) |
| XYZ | xyz(7.8052, 14.3329, 3.3323) |
| Luminance | 0.1433 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.70
Green
#008000
ΔE00 3.06
Dark Grass Green
#388004
ΔE00 4.30
Darkish Green
#287C37
ΔE00 4.45
Forestgreen (CSS)
#228B22
ΔE00 6.02
Jungle Green
#048243
ΔE00 7.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227A1A #721A7A
analogous
#527A1A #227A1A #1A7A42
triadic
#227A1A #1A227A #7A1A22
tetradic
#227A1A #1A527A #721A7A #7A421A
square
#227A1A #1A527A #721A7A #7A421A
split-complementary
#227A1A #421A7A #7A1A52
monochromatic
#071905 #14480F #227A1A #30AC25 #46D539
Accessibility & contrast
On white
5.43
#227A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#227A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227A1A
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227A1A | 1.00 | 5.43 | 3.87 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E05
Deuteranopia (green-blind)
#736725
Tritanopia (blue-blind)
#0B7668
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #227a1a; /* rgb */ color: rgb(34, 122, 26); /* oklch */ color: oklch(50.9% 0.153 141.9);
Tailwind
colors: {
custom: {
50: '#6ca15e',
500: '#227a1a',
950: '#000000',
},
}SCSS
$custom: #227a1a; $custom-light: #6ca15e; $custom-dark: #000000;
JSON
{
"hex": "#227a1a",
"rgb": {
"r": 34,
"g": 122,
"b": 26
},
"hsl": {
"h": 115,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.50877,
"c": 0.15345,
"h": 141.9
},
"luminance": 0.14334
}Semantic roles & 50–950 ramp
primary
#227A1A
secondary
#A541AE
accent
#40E8DA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F05
muted
#7A7F79