#1C7F2A#1C7F2A
#1C7F2A is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.151 H 144.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7F2A |
|---|---|
| RGB | rgb(28, 127, 42) |
| HSL | hsl(128, 64%, 30%) |
| HSV | hsv(128, 78%, 50%) |
| CMYK | cmyk(78%, 0%, 66.9%, 50.2%) |
| CIE-LAB | lab(46.43, -45.64, 37.23) |
| CIE-LCH | lch(46.43, 58.90, 140.80°) |
| OKLab | oklab(52.32% -0.1232 0.0865) |
| OKLCH | oklch(52.32% 0.151 144.9) |
| XYZ | xyz(8.4856, 15.5918, 4.7523) |
| Luminance | 0.1559 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.73
Tree Green
#2A7E19
ΔE00 2.89
Green
#008000
ΔE00 4.03
Jungle Green
#048243
ΔE00 4.85
Forestgreen (CSS)
#228B22
ΔE00 4.86
Dark Grass Green
#388004
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7F2A #7F1C71
analogous
#3F7F1C #1C7F2A #1C7F5B
triadic
#1C7F2A #2A1C7F #7F2A1C
tetradic
#1C7F2A #1C3F7F #7F1C71 #7F5B1C
square
#1C7F2A #1C3F7F #7F1C71 #7F5B1C
split-complementary
#1C7F2A #5B1C7F #7F1C3F
monochromatic
#061B09 #114D19 #1C7F2A #27B13B #40D555
Accessibility & contrast
On white
5.10
#1C7F2A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#1C7F2A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7F2A
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7F2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7F2A | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817320
Deuteranopia (green-blind)
#766B32
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1c7f2a; /* rgb */ color: rgb(28, 127, 42); /* oklch */ color: oklch(52.3% 0.151 144.9);
Tailwind
colors: {
custom: {
50: '#6aa567',
500: '#1c7f2a',
950: '#000000',
},
}SCSS
$custom: #1c7f2a; $custom-light: #6aa567; $custom-dark: #000000;
JSON
{
"hex": "#1c7f2a",
"rgb": {
"r": 28,
"g": 127,
"b": 42
},
"hsl": {
"h": 128.485,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.52315,
"c": 0.15056,
"h": 144.9
},
"luminance": 0.15593
}Semantic roles & 50–950 ramp
primary
#1C7F2A
secondary
#B344A3
accent
#41CFE7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A