#227C1A#227C1A
#227C1A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.156 H 141.9°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #227C1A |
|---|---|
| RGB | rgb(34, 124, 26) |
| HSL | hsl(115, 65%, 29%) |
| HSV | hsv(115, 79%, 49%) |
| CMYK | cmyk(72.6%, 0%, 79%, 51.4%) |
| CIE-LAB | lab(45.40, -45.04, 42.79) |
| CIE-LCH | lch(45.40, 62.13, 136.47°) |
| OKLab | oklab(51.45% -0.1227 0.0961) |
| OKLCH | oklch(51.45% 0.156 141.9) |
| XYZ | xyz(8.0533, 14.8291, 3.4150) |
| Luminance | 0.1483 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.11
Green
#008000
ΔE00 2.56
Dark Grass Green
#388004
ΔE00 3.89
Darkish Green
#287C37
ΔE00 4.53
Forestgreen (CSS)
#228B22
ΔE00 5.32
Emerald Green
#028F1E
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227C1A #741A7C
analogous
#537C1A #227C1A #1A7C43
triadic
#227C1A #1A227C #7C1A22
tetradic
#227C1A #1A537C #741A7C #7C431A
square
#227C1A #1A537C #741A7C #7C431A
split-complementary
#227C1A #431A7C #7C1A53
monochromatic
#071905 #14490F #227C1A #30AF25 #47D63B
Accessibility & contrast
On white
5.30
#227C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#227C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227C1A
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227C1A | 1.00 | 5.30 | 3.97 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7004
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#097869
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #227c1a; /* rgb */ color: rgb(34, 124, 26); /* oklch */ color: oklch(51.5% 0.156 141.9);
Tailwind
colors: {
custom: {
50: '#6ca35e',
500: '#227c1a',
950: '#000000',
},
}SCSS
$custom: #227c1a; $custom-light: #6ca35e; $custom-dark: #000000;
JSON
{
"hex": "#227c1a",
"rgb": {
"r": 34,
"g": 124,
"b": 26
},
"hsl": {
"h": 115.102,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.51452,
"c": 0.15583,
"h": 141.9
},
"luminance": 0.1483
}Semantic roles & 50–950 ramp
primary
#227C1A
secondary
#A742B0
accent
#40E8DB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79