#227C1C#227C1C
#227C1C is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.5% C 0.155 H 142.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #227C1C |
|---|---|
| RGB | rgb(34, 124, 28) |
| HSL | hsl(116, 63%, 30%) |
| HSV | hsv(116, 77%, 49%) |
| CMYK | cmyk(72.6%, 0%, 77.4%, 51.4%) |
| CIE-LAB | lab(45.41, -44.89, 42.07) |
| CIE-LCH | lch(45.41, 61.52, 136.86°) |
| OKLab | oklab(51.47% -0.1222 0.0948) |
| OKLCH | oklch(51.47% 0.155 142.2) |
| XYZ | xyz(8.0765, 14.8383, 3.5368) |
| Luminance | 0.1484 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.24
Green
#008000
ΔE00 2.73
Dark Grass Green
#388004
ΔE00 4.07
Darkish Green
#287C37
ΔE00 4.29
Forestgreen (CSS)
#228B22
ΔE00 5.33
Emerald Green
#028F1E
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#227C1C #761C7C
analogous
#527C1C #227C1C #1C7C46
triadic
#227C1C #1C227C #7C1C22
tetradic
#227C1C #1C527C #761C7C #7C461C
square
#227C1C #1C527C #761C7C #7C461C
split-complementary
#227C1C #461C7C #7C1C52
monochromatic
#071906 #144A11 #227C1C #30AE27 #48D43F
Accessibility & contrast
On white
5.29
#227C1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#227C1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #227C1C
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##227C1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##227C1C | 1.00 | 5.29 | 3.97 | 5.29 |
| #FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7008
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#08786A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #227c1c; /* rgb */ color: rgb(34, 124, 28); /* oklch */ color: oklch(51.5% 0.155 142.2);
Tailwind
colors: {
custom: {
50: '#6ca35f',
500: '#227c1c',
950: '#000000',
},
}SCSS
$custom: #227c1c; $custom-light: #6ca35f; $custom-dark: #000000;
JSON
{
"hex": "#227c1c",
"rgb": {
"r": 34,
"g": 124,
"b": 28
},
"hsl": {
"h": 116.25,
"s": 63.158,
"l": 29.804
},
"oklch": {
"l": 0.51467,
"c": 0.15467,
"h": 142.2
},
"luminance": 0.14839
}Semantic roles & 50–950 ramp
primary
#227C1C
secondary
#A944B0
accent
#42E6DC
background
#F6FAF5
surface
#ECF4EA
border
#C7CEC6
text
#080F05
muted
#7A7F79