#1C7A2F#1C7A2F
#1C7A2F is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.140 H 146.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7A2F |
|---|---|
| RGB | rgb(28, 122, 47) |
| HSL | hsl(132, 63%, 29%) |
| HSV | hsv(132, 77%, 48%) |
| CMYK | cmyk(77%, 0%, 61.5%, 52.2%) |
| CIE-LAB | lab(44.76, -43.22, 32.93) |
| CIE-LCH | lch(44.76, 54.34, 142.70°) |
| OKLab | oklab(50.94% -0.1165 0.0778) |
| OKLCH | oklch(50.94% 0.14 146.3) |
| XYZ | xyz(7.9509, 14.3703, 5.0435) |
| Luminance | 0.1437 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.54
Jungle Green
#048243
ΔE00 4.37
Tree Green
#2A7E19
ΔE00 4.43
Green
#008000
ΔE00 5.73
Forestgreen (CSS)
#228B22
ΔE00 7.05
Dark Grass Green
#388004
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7A2F #7A1C67
analogous
#387A1C #1C7A2F #1C7A5E
triadic
#1C7A2F #2F1C7A #7A2F1C
tetradic
#1C7A2F #1C387A #7A1C67 #7A5E1C
square
#1C7A2F #1C387A #7A1C67 #7A5E1C
split-complementary
#1C7A2F #5E1C7A #7A1C38
monochromatic
#06190A #11481C #1C7A2F #27AC42 #3ED35C
Accessibility & contrast
On white
5.42
#1C7A2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.87
#1C7A2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7A2F
5.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7A2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7A2F | 1.00 | 5.42 | 3.87 | 5.42 |
| #FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6E27
Deuteranopia (green-blind)
#716735
Tritanopia (blue-blind)
#00776A
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #1c7a2f; /* rgb */ color: rgb(28, 122, 47); /* oklch */ color: oklch(50.9% 0.140 146.3);
Tailwind
colors: {
custom: {
50: '#68a16a',
500: '#1c7a2f',
950: '#000000',
},
}SCSS
$custom: #1c7a2f; $custom-light: #68a16a; $custom-dark: #000000;
JSON
{
"hex": "#1c7a2f",
"rgb": {
"r": 28,
"g": 122,
"b": 47
},
"hsl": {
"h": 132.128,
"s": 62.667,
"l": 29.412
},
"oklch": {
"l": 0.50943,
"c": 0.14005,
"h": 146.3
},
"luminance": 0.14371
}Semantic roles & 50–950 ramp
primary
#1C7A2F
secondary
#AE4498
accent
#42C5E6
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F06
muted
#7A7F7A