#1C7E2A#1C7E2A
#1C7E2A is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.0% C 0.149 H 145.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7E2A |
|---|---|
| RGB | rgb(28, 126, 42) |
| HSL | hsl(129, 64%, 30%) |
| HSV | hsv(129, 78%, 49%) |
| CMYK | cmyk(77.8%, 0%, 66.7%, 50.6%) |
| CIE-LAB | lab(46.09, -45.29, 36.85) |
| CIE-LCH | lch(46.09, 58.39, 140.87°) |
| OKLab | oklab(52.03% -0.1223 0.0857) |
| OKLCH | oklch(52.03% 0.149 145) |
| XYZ | xyz(8.3571, 15.3348, 4.7095) |
| Luminance | 0.1534 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.54
Tree Green
#2A7E19
ΔE00 2.96
Green
#008000
ΔE00 4.16
Jungle Green
#048243
ΔE00 4.85
Forestgreen (CSS)
#228B22
ΔE00 5.21
Dark Grass Green
#388004
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7E2A #7E1C70
analogous
#3F7E1C #1C7E2A #1C7E5B
triadic
#1C7E2A #2A1C7E #7E2A1C
tetradic
#1C7E2A #1C3F7E #7E1C70 #7E5B1C
square
#1C7E2A #1C3F7E #7E1C70 #7E5B1C
split-complementary
#1C7E2A #5B1C7E #7E1C3F
monochromatic
#061A09 #114C19 #1C7E2A #27B03B #40D555
Accessibility & contrast
On white
5.16
#1C7E2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#1C7E2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7E2A
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7E2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7E2A | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807220
Deuteranopia (green-blind)
#756A31
Tritanopia (blue-blind)
#007B6C
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1c7e2a; /* rgb */ color: rgb(28, 126, 42); /* oklch */ color: oklch(52.0% 0.149 145.0);
Tailwind
colors: {
custom: {
50: '#6aa467',
500: '#1c7e2a',
950: '#000000',
},
}SCSS
$custom: #1c7e2a; $custom-light: #6aa467; $custom-dark: #000000;
JSON
{
"hex": "#1c7e2a",
"rgb": {
"r": 28,
"g": 126,
"b": 42
},
"hsl": {
"h": 128.571,
"s": 63.636,
"l": 30.196
},
"oklch": {
"l": 0.52029,
"c": 0.14931,
"h": 145
},
"luminance": 0.15336
}Semantic roles & 50–950 ramp
primary
#1C7E2A
secondary
#B244A2
accent
#41CFE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A