#1C7F2F#1C7F2F
#1C7F2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.147 H 145.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #1C7F2F |
|---|---|
| RGB | rgb(28, 127, 47) |
| HSL | hsl(132, 64%, 30%) |
| HSV | hsv(132, 78%, 50%) |
| CMYK | cmyk(78%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(46.49, -45.03, 34.92) |
| CIE-LCH | lch(46.49, 56.99, 142.21°) |
| OKLab | oklab(52.37% -0.1214 0.0821) |
| OKLCH | oklch(52.37% 0.147 145.9) |
| XYZ | xyz(8.5807, 15.6299, 5.2534) |
| Luminance | 0.1563 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.05
Tree Green
#2A7E19
ΔE00 3.67
Jungle Green
#048243
ΔE00 4.06
Green
#008000
ΔE00 4.84
Forestgreen (CSS)
#228B22
ΔE00 5.29
Dark Grass Green
#388004
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1C7F2F #7F1C6C
analogous
#3A7F1C #1C7F2F #1C7F60
triadic
#1C7F2F #2F1C7F #7F2F1C
tetradic
#1C7F2F #1C3A7F #7F1C6C #7F601C
square
#1C7F2F #1C3A7F #7F1C6C #7F601C
split-complementary
#1C7F2F #601C7F #7F1C3A
monochromatic
#061B0A #114D1C #1C7F2F #27B142 #40D55D
Accessibility & contrast
On white
5.09
#1C7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#1C7F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1C7F2F
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1C7F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1C7F2F | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817326
Deuteranopia (green-blind)
#766B36
Tritanopia (blue-blind)
#007C6E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #1c7f2f; /* rgb */ color: rgb(28, 127, 47); /* oklch */ color: oklch(52.4% 0.147 145.9);
Tailwind
colors: {
custom: {
50: '#6aa56a',
500: '#1c7f2f',
950: '#000000',
},
}SCSS
$custom: #1c7f2f; $custom-light: #6aa56a; $custom-dark: #000000;
JSON
{
"hex": "#1c7f2f",
"rgb": {
"r": 28,
"g": 127,
"b": 47
},
"hsl": {
"h": 131.515,
"s": 63.871,
"l": 30.392
},
"oklch": {
"l": 0.52373,
"c": 0.14652,
"h": 145.9
},
"luminance": 0.15631
}Semantic roles & 50–950 ramp
primary
#1C7F2F
secondary
#B3449D
accent
#41C7E7
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A